How to reference InDesign CS 5.5 in a vbscript?

Having done mostly AppleScript and JavaScript in recent years I got stuck on what must be dead simple, but I can't figure it out, that is, how to create a reference to the InDesign application object.
With previous version this is what I do
set myInDesign = CreateObject("InDesign.Application.CS3")
But I can't find the proper version string, CS55, CS5.5, CS5_5 etc does not work. Nor can I leave the version number out, because that will launch CS4 (which is also installed on the machine
Please help with this annoying problem.

Thanks for fast answer!
The problem is the script-string that is written above (set myInDesign = CreateObject("InDesign.Application.CSxx?")ActiveX component can't create object so I guess the syntax is wrong. I've tried with 5, 5.5, 55 and so on...Tried the administrator-run as well but with no improvement.
The vb-program stops at the create object part with error message
I can use vb script with CS5, it's just CS5.5 that I have a problem with.

Similar Messages

  • [AS] IDCS4 - How to reference tagged rectangle in layer

    Hi
    What I am trying to do is access a tagged rectangle called IMAGE, with a script label of IMAGE in a group on a locked layer, and replace that rectangles content with a new image, and have not had much success.
    When I unlock the layer and un-group the group, I can then access the tagged rectangle
    with the code below.
    (the code was cobbled together from here  http://www.macosxautomation.com/applescript/datapublish/index.html)
    Could someone please show me how to reference a tagged rectangle on a locked layer in a group please, if I need to unlock the layer then that's fine.
    tell application "Adobe InDesign CS4"
        tell the active document
            set the rectangle_list to every rectangle of every spread ¬
                whose label is not "" and content type is graphic type
            if the rectangle_list is {} then
                error "There are no tagged image rectangles."
            end if
            if the class of the rectangle_list is not list then
                set the rectangle_list to the rectangle_list as list
            end if
        end tell
        repeat with i from 1 to the count of the rectangle_list
            try
                set error_indicator to 1
                set this_rectangle to item i of the rectangle_list
                set this_tag to the label of this_rectangle
                set this_image to "PATH TO IMAGE" as alias --testing
                set error_indicator to 2
                tell this_rectangle
                    set this_image to place this_image
                    if the class of this_image is list then set this_image to item 1 of this_image
                    fit given content to frame
                    set image_h to the horizontal scale of this_image
                    set the image_v to the vertical scale of this_image
                    if the image_v is greater than or equal to image_h then
                        set horizontal scale of this_image to image_v
                    else
                        set the vertical scale of this_image to image_h
                    end if
                    fit given center content
                end tell
            on error error_message
                if the error_indicator is 1 then
                    set the error_message to "Image “" & this_tag & ¬
                        "” could not be found in the database."
                end if
                activate
                beep
                display dialog error_message buttons {"Cancel", "Continue"} default button 2
            end try
        end repeat
    end tell
    cheers
    Kev

    Something like this should get you started:
    tell application "Adobe InDesign CS4"
    tell document 1
    set theRects to every item of all page items whose class is rectangle and label is "IMAGE"
    repeat with i from 1 to count of theRects
    set oneRect to item i of theRects
    -- unlock layer if necessary
    if locked of item layer of oneRect is true then
    set lockFlag to true
    set locked of item layer of oneRect to false
    else
    set lockFlag to false
    end if
    set this_image to place this_image on oneRect
    -- do your stuff to the image
    if lockFlag is true then set locked of item layer of oneRect to true -- relock the layer
    end repeat
    end tell
    end tell

  • How to reference the Parent view Object attribute in Child View object

    Hi , I have the requirememt to generate Tree like struture to display Salary from joining date to retirement date in yearly form.I have writtent two Pl/SQL function to return parent node and child nodes(based on selected year).
    1.First function --> Input paramter (employee id, retirement date , joining date) --> return parent node row with start_date and end_date
    2. 2nd function --> input paarmter(employee id, startDate, end_date) --> return child node based on selected parent node i.e. start date and end date
    I have created two ADF view object based on two function return
    Parent Node --> select * from Table( EUPS.FN_GET_CONTR_SAL_BY_YR(employeeId,retirement Date, dateOf joining)) ;
    Child Node --> select * FROM TABLE( EUPS.FN_GET_CONTR_SAL_FOR_YEAR( employeId,startDate, endDate) ) based on selected parent node.
    I am giving binding variable as input for 2nd function (child node) . I don't know how to reference the binding variable value in child view from parent view.
    Like I have to refernce employeId,startDate, endDate values in 2nd function from parent view object. some thing like parentNode.selectedStart_date parentNode.employeeId.
    I know we can achive this writing the code in backing bean.But i want to know how can we refernce parent view object attribute values in child view object using Groovy or otherway?
    I will appreciate your help.
    Thanks

    I have two view com.ContractualSalaryByYearlyView for Parent Node and com.ContractualSalaryByYearlyView for child Node.
    I have created view link(ContractualSalYearlyByYearViewLink) betweem two view by giving common field empId, stDate , endDate.(below is the view link xml file).
    I tried give the binding attribute values using parent object reference like below in com.ContractualSalaryByYearlyView xml file but getting error
    Variable ContractualSalaryByYearlyView not recognized.I think i am using groovy expression.
    Thanks for quick response.
    com.ContractualSalaryByYearlyView xml
    <ViewObject
    <DesignTime>
    <Attr Name="_isExpertMode" Value="true"/>
    </DesignTime>
    <Variable
    Name="empId"
    Kind="where"
    Type="java.lang.Integer">
    <TransientExpression><![CDATA[adf.object.ContractualSalaryByYearlyView.EmpId]]></TransientExpression>
    </Variable>
    ContractualSalYearlyByYearViewLink.xml file
    <ViewLinkDefEnd
    Name="ContractualSalaryByYearlyView"
    Cardinality="1"
    Owner="com.ContractualSalaryByYearlyView"
    Source="true">
    <DesignTime>
    <Attr Name="_finderName" Value="ContractualSalaryByYearlyView"/>
    <Attr Name="_isUpdateable" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item
    Value="com.ContractualSalaryByYearlyView.EmpId"/>
    <Item
    Value="com.ContractualSalaryByYearlyView.StDate"/>
    <Item
    Value="com.ContractualSalaryByYearlyView.EndDate"/>
    </AttrArray>
    </ViewLinkDefEnd>
    <ViewLinkDefEnd
    Name="ContractualSalaryForYearView"
    Cardinality="-1"
    Owner="com.ContractualSalaryForYearView">
    <DesignTime>
    <Attr Name="_finderName" Value="ContractualSalaryForYearView"/>
    <Attr Name="_isUpdateable" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item
    Value="com.ContractualSalaryForYearView.EmpId"/>
    <Item
    Value="com.ContractualSalaryForYearView.StDate"/>
    <Item
    Value="com.ContractualSalaryForYearView.EndDate"/>
    </AttrArray>
    </ViewLinkDefEnd>

  • How to reference a user parameter in program unit

    I tried to define a user parameter in Oracle Report 6i and I could reference it (&p_where_clause) in the main query but I failed to reference it in one of the program units. Here is the logic:
    function CF_OTHER_COURSESFormula return Char is
    cnt           number;
    priority     number;
    class_code     varchar2(8);
    oc           varchar2(100) := null;
    cursor oc_cur is
    select class_code, branch_priority
    from nominations n, employments e
    where n.hkic_no = e.hkic_no
    and e.staff_status_code = 'EMP'
    and &p_where_clause --> contain "n.course_code in ('A','B','C')"
    and n.hkic_no = :hkic_no
    and n.class_code != :class_code;
    begin
    cnt := 1;
    open oc_cur;
    loop
    fetch oc_cur into class_code, priority;
    if oc_cur%notfound then
         exit;
    end if;
    if cnt = 1 then
    oc := oc||class_code||'('||priority||')';
    else
    oc := oc||', '||class_code||'('||priority||')';
    end if;
    cnt := cnt + 1;
    end loop;
    close oc_cur;
    return oc;
    exception
    when no_data_found then      
    return '';
    end;
    Does anyone tell me how to reference it in program unit? Does Oracle Reports 6i support this operation?

    There hasn't been any changes to the way lexicals and bind variables work in Reports between 2.5 and 6i. There are different versions of PL/SQL and you might be hitting some problem here.
    In your case, you shouldn't be using the query lexical "&p_where_clause" just the PL/SQL bind variable syntax ":p_where_clause". Since you're creating a PL/SQL cursor, you should probably use dynamic sql creation with a concatenation of the where clause to build up the SQL for the cursor. Check out the PL/SQL documentation for this.

  • Can I open .pmd files in indesign? And how? Since indesign is a "substitute" for PageMaker it should/must be possible, but I don't know how to do it

    Can I open .pmd files in indesign? And how? Since indesign is a "substitute" for PageMaker it should/must be possible, but I don't know how to do it

    CS6 was the last version capable of opening Pagemaker files. It's included with Cloud subscriptions, so if you don't have it installed (or an earlier version) you can download it from your cloud subscription.
    To open them you use File > Open..., but the quality of conversion can range between nearly perfect and total garbage, depending on the PM file and the status of links (unembed images before trying to convert).

  • Adobe CS3 Suite -- How to Get InDesign and Acrobat Pro to Install?

    I uninstalled and deactivated my Adobe CS3 Design Premium from my 1st gen Macbook (2006) and installed it on my 3rd gen Macbook Air (2011). When I installed CS3 using the original discs, InDesign and Acrobat did not install properly. How to fix?
    My questions:
    1. Got any ideas how to install InDesign and Acrobat Pro without uninstalling the whole CS3, running the cleaner tool, and reinstalling everything again? I tried to rerun the installer just for InDesign and Acrobat Pro but I got the same result -- no install.
    2. Installing CS3 takes forever -- at least several hours. Is it because I'm sending it over my wireless network? (I'm "sharing" the DVD drive on my other Macbook because my Air doesn't have one.)
    Thanks so much!!
    (More background, in case it's useful -- before installing CS3, I had run the Adobe Creative Suite Cleaner Tool to clean up the mess I made when I tried to migrate CS3 using Mac's migration assistant. I learned, thanks to this forum, that I couldn't use the Migration Assistant tomove CS3. I also found that the unistaller didn't transfer, so I manually deleted folders and then used the cleaner. It worked wel enough to allow me to install everything but InDesign and Acrobat Pro.)

    Thanks Jeff (and Manish). I'm all for better reliability and a quicker installation.
    This may seem like a dumb question, but how do I properly copy the CS3 install files onto a USB? Drag and drop everythng from the CD? Can I not just copy the files onto my desktop and install from there? That is what I thought Manish suggested, to install from the desktop.
    I had tried this method. After copying the install files to the desktop, here's what happened: I clicked the setup application and it opened, but it immediately detected that I had CS3 installed and wouldn't let me go any further. Perhaps that was due to other problems resulting from use of the Migration Assistant.
    Previously, when I used the install disk on the shared drive, I was able to open the setup and install the couple of CS3 programs that weren't installed the first time around. That installation attempt failed and led me here to my original post.
    Many thanks!

  • How InDesign comes to know about any changes on document, but not saved. As it shows * on the name of document when it is opened and any changes. And after saving * symbol is get removed from the name of document. How and where indesign@ handles this?

    How InDesign comes to know about any changes on document, but not saved. As it shows * on the name of document when it is opened and any changes.
    And after saving * symbol is get removed from the name of document. How and where indesign@ handles this?

    Are you just asking because you want to know, or do you have a problem you need to solve? I don't know how to write a program, but I think what your are describing is not an unusual thing for a  program to do. The * tells you that changes have been made since the last save, and the program reserves a portion of memory for undo functions. I suppose a coder could tell you how it works, but I don't think it would help an average user to know, but that's just my opinion.

  • How to reference the selected row on a report by click a radiobox

    I created a report with a column displayed as a radiobox.The report source is like "select htmldb_item.radiogroup(1,.....),rec_id,....from .... where ....",after click one radiobox,i want to get other column's value in the selected row in the after submit process ,can anyone help me?????? how to reference "rec_id" of the selected row?

    Hello,
    First, please tell us your first name, and update your forum handle. It’s make it easier to track your threads, and help you.
    >> apex_application.g_f01(1)" only return the first record's rec_id,if i click radiobox in other rows,it returns the same result as click radiobox in the first row?
    The ‘G_F01’ is an array of values, so apex_application.g_f01(1) will always bring you the first element of this array. If you want to retrieve other values from this array, which will include the values of the radiogroup value of the other lines, you need to use a loop. Something like that should work:
    for i in 1.. apex_application.g_f01.count loop
    … apex_application.g_f01(i) …
    end loop;
    >> after click one radiobox,i want to get other column's value in the selected row in the after submit process
    That means that the value of your radiogroup item should include some indication to the line you are on. If, like in Andy’s example, you can retrieve your record from a table, based on a PK, your radiogroup can return this kind of information. However, if the data on the other columns of the select raw, were just entered/updated by the user (like in a tabular form), the radiogroup item should include information about the row you are in, in order for you to be able to access the corresponding array elements – other G-Fxx arrays – of the other columns in the row. In this case, I believe using checkboxes is preferable.
    Regards,
    Arie.

  • How to reference the class-instance, created in parent class.

    Hi, I have following scenario. During compilation I am gettting error message -- "cannot resolve symbol - symbol : Variable myZ"
    CODE :
    under package A.1;
         ClassZ
         Servlet1
              ClassZ myZ = new ClassZ;
    under package A.2;
         Servlet2 extends Servlet1
              myZ.printHi();
    How to reference the class-instance created in the parent class?

    some corrections ...
    under package A.1;
         ClassZ
         Servlet1
              init()
                   ClassZ myZ = new ClassZ;
    under package A.2;
         Servlet2 extends Servlet1
              myZ.printHi();

  • Custom icon strip - how to reference it in the HHC?

    I could not get the custom icon strip to work for me. I think that I understood the overall concept but I do not know how to reference the bmp file in the HHC.Ricks Tips and Tricks file only states "make the reference inside the HHC file". Where exactly do I place the <param name="..." value="C:..BMP"> reference?
    Perhaps there is an example?

    Rick,
    thanks for your efforts despite my ignorance! My HHC file does not look like that, it has a different structure without an HTML list. After some fiddeling I got it to work now, even though I still did not find out why my TOC structure does not match yours (the binary TOC option is not active).
    Instead of using the <param name="ImageList" value="C:tocimages.bmp"> line, I inserted the reference into the properties tag. My HHC looks like this now and it works:
    <?xml version="1.0" encoding="utf-8"?>
    <toc version="1.0">
    <properties imagelist="C:tocimages.bmp">
    </properties>
    <item name=".." link="...html">
    (here the TOC items follow)
    </item>
    </toc>

  • How to reference a Planning Application in Workspace

    Hello,
    I've developped several Planning applications.
    But when I open workspace / Applications / Planning, (with an admin user)
    I only see one Planning application. So I want to know how to reference a Planning application in Workspace ??
    Thanks for your help
    Best regards

    Some details :
    My Planning applications seems to works correctly. Essbase is Okay. Shared services is okay too but the Workspace is out (and with it Financial Reporting Studio).
    Before that problem, In the configurator, I've deleted all Planning clusters except one (Default). I've selected Re-associate Clusters and Applications and I've successfully re-Associate all Planning Application to Default Cluster. Then I've Activated Cluster Default.
    But Anyway, Since I've deleted Planning Clusters my Workspace doesn't work anymore.
    I've a doubt: I've tried to redeploy Workspace (Configurator / Hyperion Foundation / Workspace / Deploy to Application Server and Configure web Server.
    It doesn't work because it says that Workspace already exists :p.
    Anyway I'm surprised about something : To access Workspace we use the 19000 port but In Configuration we I try to deploy it I see it is on the 45000 port. If I click on advanced / Setup a little window open "Set up Logical Address". And it is writtend Edit Default Cluster : gl-dev-budget : 45000 meanwhile when (still in Configurator) I open Planning / Manage Planning Cluster the server port is 8300 ??
    Is someone can helps me ?
    Thanks
    Best regards

  • How to reference a field statically in a program?

    Hi Everyone,
    Can any one explain me how to reference a field statically.
    As the error on Extended program check is as follows:
    Field FLAG is not referenced statically in the program   
    where as the particular field has been defined as below in the program :
    when 'SMTP_ADDR'.
              DATA: flag type i.
    I think is there a need to define the field globally.
    Thanks and Regards,
    Johny

    Hi,
    We can avoid this EPC check by deleting or putting a comment Or By passeing the EPC to it ie
    DATA:
    w_flag type i." #EPC
    we can also avoid the EPC error by this way.then this willnt be aa part of EPC check
    Thanks & Regards,
    Chandralekha.

  • How to reference session state in a list entry label

    You can use &<item>. to reference session state values which can then be used in titles and item labels but it seems it does not work in the label for a list entry (i.e. to build a menu).  Is there a workaround?
    thanks in advance
    PaulP

    OK I just realized that referencing session state doesn't work for lists used by Enkitec's NavBar plugin solution.  It does reference the &<ITEM>. correctly for normal APEX lists. Anyone know how to reference session state when using Enkitec's NavBar plugin solution?
    PaulP

  • How to reference current tab on page zero?

    Hi,
    I have regions placed on page zero. How could I reference the current tab? I have to many pages, so using display condition by using page ID is little uncomfortable. I thought I could make a condition by using SQL expression and referring the label or name of the currently active tab. I think, this is a trivial question, but I can not find how to referre to the current tab's name or label.
    Tamas

    Hi
    I have the exact same problem.
    I cant have multiple navigators on page 0.
    Therefore my navigator on the left hand side should be dynamic, based on the tab I click.
    I've gotten this far (select statement below), but I don't know how to reference the current tab that I've clicked on / the current tab is active (see :P0_TAB_NAME)
    select "MENU_CODE" id,
    "PARENT_MENU_CODE" pid,
    decode(menu_type,'FL','<img src="#APP_IMAGES#folder.png" border="0"
    style="vertical-align:middle">&nbsp<b>' ||menu_description,
    'PG','<img src="#APP_IMAGES#pgm.png" border="0"
    style="vertical-align:middle">&nbsp<b>' ||menu_description,
    'PG','<img src="#APP_IMAGES#tree_group.png" border="0"
    style="vertical-align:middle">&nbsp<b>' ||menu_description) name,
    decode(page_name,null,null,'f?p=&APP_ID.:'||page_name||':&SESSION.') link,
    null a1,
    null a2
    from "CANELAB_NAVIGATOR" a, APEX_APPLICATION_TABS b
    where b.display_sequence = a.menu_group
    and b.tab_name = :P0_TAB_NAME
    order by MENU_CODE

  • How to reference complex data type when consuming web services in WAS 620?

    In WAS 620, I tried to consume a web service in ABAP. I was successful when the web service returned one or more simple data type. But when the web service is changed to return a complex data type (eg. a structure with 3 elements), the call to the web service did not return anything.
    Do any of you know how to reference the individual element in the structure of an output parameter in a web service? I use the add_parameter method of the CSoapDocument class to identify the output parameters.
    Here is part of the WSDL file:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="urn:sap-com:document:sap:rfc:functions" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="urn:sap-com:document:sap:rfc:functions">
    - <types>
    - <xsd:schema targetNamespace="urn:sap-com:document:sap:rfc:functions">
    - <xsd:element name="Z_SRM_SOAP_TEST_COMPLEX">
    - <xsd:complexType>
    - <xsd:all>
    - <xsd:element name="INTEXT">
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="50" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
      </xsd:all>
      </xsd:complexType>
      </xsd:element>
    - <xsd:element name="Z_SRM_SOAP_TEST_COMPLEX.Response">
    - <xsd:complexType>
    - <xsd:all>
      <xsd:element name="OUTTEXT" type="s0:ZSRM_TEST_STRUCT" />
      </xsd:all>
      </xsd:complexType>
      </xsd:element>
    - <xsd:complexType name="ZSRM_TEST_STRUCT">
    - <xsd:sequence>
    - <xsd:element name="ELEMENT1" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="50" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ELEMENT2" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="50" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ELEMENT3" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="50" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:schema>
      </types>

    Hi,
      [email protected] is my id and one more thing u by looking at the wsdl file u can know what al the parameters we have to give to the webservice so try it out also.
    Regards,
    Sirisha.

Maybe you are looking for

  • E90 not connecting via USB connection

    Can someone offer some advice as to why the E90 doesn't seem to connect or be recognised when put into PC suite mode, had it work once when i first got it but now all i get is 3 'USB' noises and cannot get them to talk to each other. Using XP with la

  • HCM form cannot be displayed in Portal

    Dear Experts, We are facing this problem which has stopped us for days. Recently, in our Portal, the HCM forms cannot be displayed at all. We suspect it is ADS issue. However, both ABAP and Java are working fine in ADS as tested by BASIS team. Has an

  • How can I alter Ovi Suite + how to disable DalMeas...

    Latest Ovi Suite on Windows 7 Prof 64bit Ok, over here now also getting enough of this Ovi Suite. Using it now for few weeks and besides the weird way is works, I am getting enough of the whole time the Ovi Store being pushed in my face, don't like t

  • Help resetting password for HP Pavilion Windows 8

    I bought an HP Pavilion notebook a few months ago.  It has Windows 8.  I was away from my computer over the holidays and, stupid me, forgot the password.  I assume it is the Administrator's password--the one that is requested when you turn on the com

  • DBIF_RSQL_SQL_ERROR using transation MB25

    We are getting the above error. On closer examination of the dump: Database error text........: "Resource limit exceeded. MSGID= Job=168917/PRO03/WP02" Internal call code.........: "[RSQL/OPEN/RKPF ]" Please check the entries in the system log (Trans