[CS3 VB] Launching/activating InDesign from third program

I need to activate (and if it is not running) start InDesign from another program - on Windows. Then InDesign should load some file. On the Mac I would call an AppleScript. I thought it should be possible with VB but I am not able to make it work. I tried this. (After this I would call JS to do the real work.)
Set myInDesign = CreateObject("InDesign.Application.CS3")
myInDesign.Activate
What is the correct approach?
Thank you,
Ralf

Hi Ralf
Sorry that I was not more specific.
I use Microsoft Visual Studio 2005 or 2008 to control InDesign.
Visual Studio contains C++, C# and Visual Basic and all 3 languages can be used to gain full control over InDesign.
I do not use scripts (although it is also possible to send a script to InDesign and execute it).
I communicate directly with InDesign from my code.
The code I use look a lot like scripting but there are slight differences in syntax.
In general the following applies:
Visual Basic code looks like VBScript
C++ code looks like JavaScript
C# code looks like JavaScript
Using any of the 3 languages gives me the advantage, that I can single step on line at a time, and inspect what happens in InDesign.
So to answer your question about the COM reference: Adding a reference to the InDesign COM object is a Visual Studio thing, so it only makes sense when you use this application.
Best regards,
Bo

Similar Messages

  • Launching OA page from Third party application.

    Hi,
    We would like to launch an existing OA framework page from third party system. We do not mind entering the user name and password if prompted.
    Following URL have been tried by us ... with no success.
    http://tru-64.ashokleyland.com:8050/OA_HTML/RF.jsp?function_id=22195
    &ImcGenPartyId=123&ImcGenPartyName=abc&OAHP=IMC_NG_MAIN_MENU
    &OASF=IMC_NG_ORG_OVERVIEW
    http://tru-64.ashokleyland.com:8050/OA_HTML/OA.jsp?
    OAFunc=IMC_NG_ORG_OVERVIEW&ImcGenPartyId=123&ImcGenPartyName=abc
    &OAHP=IMC_NG_MAIN_MENU&OASF=IMC_NG_ORG_OVERVIEW
    Error : You are trying to access a page that is no longer active
    thanks
    Yj

    in Login page, get userid and pwd from user and use below query
    String sql = "select fr.responsibility_key responsibility_key";
    sql = sql + " from ";
    sql = sql + " fnd_responsibility fr";
    sql = sql + " ,wf_all_user_role_assignments waur ";
    sql = sql + " ,wf_local_roles wlr ";
    sql = sql + " where waur.user_name=:1";
    sql = sql + " and waur.role_name = wlr.name";
    sql = sql + " and wlr.orig_system = 'FND_RESP'";
    sql = sql + " and wlr.OWNER_TAG='<ur custome>";
    sql = sql + " and fr.RESPONSIBILITY_ID =WLR.ORIG_SYSTEM_ID ";
    get the correct resposnsibility key then use below code
    String sessionid = sessionBean.createSession(request, response, dbcFullPathName, userName, userPassword, appShortName, responsibilityKey);
    String transactionid = sessionBean.createTransaction(sessionBean.mRespInfo[0], sessionBean.mRespInfo[1], sessionBean.mRespInfo[2], dbcFullPathName);
    HMAC macKey = sessionBean.getMACKey(session);
    String url = URLMgr.processOutgoingURL("OA.jsp?page=<PG url>&transactionid=" + transactionid, macKey);
    Do all this in your custom JSP page. Once done then redirect to OA page using URLMgr.processoutgoingURL method.
    Hope this will help you.
    Message was edited by:
    user566918

  • I'm using a 15" Macbook Pro running OSX6.8 and cannot upgrade. I have a subscription to Adobe CC but none of these work on this so I was on with Adobe for 5 hours trying to install and launch Illustrator, InDesign, Photoshop, Muse, and Acrobat Pro from CS

    I'm using a 15" Macbook Pro running OSX6.8 and cannot upgrade. I have a subscription to Adobe CC but none of these work on this so I was on with Adobe for 5 hours trying to install and launch Illustrator, InDesign, Photoshop, Muse, and Acrobat Pro from CS6. Well, InDesign is the only one that works and I have a ton of work due! I don't have a serial number for Photoshop or Illustrator except for CS3, and they don't work. InDesign gave me no problems. Illustrator says it can't work on this machine. Photoshop needs a serial number. I'm stumped and getting anxious and freaked out. Can anyone help? Adobe Chat is down right now.

    if you have a cc subscription, close ps > sign out and then back in to your cc desktop > open ps.
    ai cs6 requires:
    Multicore Intel processor with 64-bit support
    Mac OS X v10.6.8 or v10.7. Adobe Creative Suite 5, CS5.5, and CS6 applications support Mac OS X v10.8 and v10.9 when installed on Intel-based systems.*
    2 GB of RAM (8 GB recommended)
    2 GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash storage devices)
    1024 x 768 display (1280 x 800 recommended) with 16-bit video card

  • Problems installing Illustrator and Indesign from CS3 suite

    I am trying to install Illustrator and Indesign from CS3 suite.  Previously I had been running a trial version on my Mac, and now am trying to install the suite from the original install discs.  I have gone through the process of uninstalling all of the Adobe programs and then reinstalling.  When the install disc loads up and I get to the point where it lists the programs to install, in the top box Illustrator and Indesign are listed as already being installed and have no option to install them.  When I search my computer there are no Illustrator or Indesign applications.  I am able to reinstall the rest of the suite and it seems to work fine but can't seem to figure out what step I'm missing as far as reinstalling Illustrator and Indesign are concerned. 

    I haven't tried doing it on Vista but I would recommend looking for 
    Adobe clean up programs.  The problem I had was that the computer had 
    a trial version and then I tried to install the full version and it 
    wouldn't let me install illustrator because there were some random 
    illustrator files that conflicted with the installation process.  I 
    ran clean up program and it removed all adobe files.  Then I 
    reinstalled photoshop.  Before you start running clean up programs 
    make sure you back everything up.  Good luck

  • Rescue and Recovery 4.2 Does not Launch from Start Programs Thinkvantage

    I have a T61 with XP SP3.  I recently installed and uninstalled the version of Ubutuno that can be booted from Windows.  I played with it for a few days then uninstalled it.   Then I unistalled Rescue and Recovery using Add Remove programs...I am thinking of getting a SSD and I wanted to remove large programs before I image the disk.
    I changed my mind and tried to reinstall Rescue and Recovery.  I got the error saying that my boot space was too small.  I used the Lenevo mbr repair feature that I found on this board.
    I was then able to install R&R 4.21,  and I was able to create recovey disks using the create recovery disks program
    However, when I try to launch  Rescue and Recovery,  (Start, Programs, Thinkvantage, Rescue and Recovery). the disk spins and I get the hour glass on the cursor...and the hour glass goes away after about 7 seconds...the disk continues too blink off and on, but the program will not launch.  The rrservice.exe and rrpservice exe services are running.  I tried disabling Kapernsky virus, and that did not help.  I have rebooted several times.
    Any suggestions!  I will buy you a beer for sure!!
    Thanks
    Jeff

    My other post just  gave you the basics.  I got tired to typing the same info over and over.
    Two issues lately.
    (1) I am going from vista to win7, and I have a Factory shipped Lenovo. RNR wont install.
    (2) I have win7 on a factory ship, and I want to go from Hdd to SDD.  USB recovery wont boot.
    ==
    I take my backups to a 2nd HDD.  Also, every few months, I backup to a DVD set, HDD's may last 3 years, maybe 4. You dont want your loved backup on the C drive, and HDD fails. On top of that, if you back up to the C drive, the HDD grinds away. Read C, write to C\rrbackups.  Backup will run faster to 2nd HDD or USB.
    ===
    You state a pristine Vista.  I am guessing it was a Factory shipped Lenovo with Vista.
    The TIP in the other post is if you know of this issue BEFORE windows 7 install.
    At the time during Win 7 install, and it is deciding where to put itself, there is a Default Recommended and I think a drop down list of other options.  This is tricky.  Example, (a). park me in the current C partition. (b) park me on the whole HDD.
    Did you upgrade the Vista, inplace to win7 or did you clean install win7 to a blank C partition.
    Lets see if you have a recovery(vista) partition.
    Go to control panel>admin tools>computer management>disk management. Check to see if other partitions show up other than the C drive. Recovery partition should be around 10 GB. Sometimes this partition is labeled IBM_Preload or similar.
    Solution/workaround
    I dont have 1 that i have tested.  Maybe other users can offer suggestions.
    (1)You could delete the Q, but this might not clean up the MBR/BCD(boot control) entries.
    (2) Backup your loved win7, erase HDD, then restore.  MAYBE a win7 backup allows ignoring the Q partition.  I am not an expert with using win7 backup, and I dont have a q drive. 
    *** all this is time consuming**, risky, and may not   solve the issue.

  • How to find the active version of a program from table

    Hi to all experts.
                          without using version management of a program how can we find out the active version of the program through tables . I have checked table E071 couldn't find anything there .
    Thanks in advance

    Chk out htis link.
    Table Name for Transport Requests & Program name

  • Out of the blue cannot launch iTunes.  Msg that program MSVCR80.dll is missing from my cptr.  Reinstall program to fix.  Am lost.

    Windows PC won't launch iTunes.  Msg that program MSVCR80.dll is missing.  Reinstall program to fix.  Have no idea what to do next.

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Good afternoon ladies and gentlemen!   My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In t

    Good afternoon ladies and gentlemen!
    My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In the settings Adobe Bridge - in "open RAW-files by double-clicking in Adobe Camera Raw» box is checked. When you try any changes in the settings Adobe Bridge system displays a message:
    Bridge's parent application is not active. Bridge requires that a qualifying product has been launched at least once to enable this feature.
    The entire line of Adobe products on my computer updated to the latest updates. Previously, a family of products Adobe Photoshop on your computer is not set. Computer - PC, Windows 7 Enterprises.

    <moved from Adobe Creative Cloud to Bridge General Discussion>

  • CS3 Indd Auto Activation not working

    I am using CS3 Indd 5.04 and can't seem to get the fonts to load automatically. Using suitcase 11.5.01. I have activation on in suitcase program. Do I not have something set correctly in InDesign?

    I would guess that you're using 11.0.5.1 (not 11.5.0.1 )? At any rate, Suitcase's auto-activation has been problematic for quite a while. I've found it works on some computers and doesn't work on others running the same operating system version and other software. The only thing I can recommend is, make sure that you actually have the plug-in activated in InDesign (I seem to remember it's the menu item InDesign > Preferences > Suitcase).

  • Launching external applications from web start

    Hi!
    I am currently working on a management system and I need to launch other management systems from my Java Web Start application. The other systems are either based on web applications (URLs), telnet - needs to set up a telnet session, or running shell scripts or batch files.
    URLs are ok. I am using Desktop.browse in Java 1.6 or I can use BasicService.showDocument in javax.jnlp API.
    My application may run on both windows and linux (ie its launched from the browser). It interacts with a java app on a linux server over RMI.
    How can I lauch a telnet session from my client app?
    Do I have to include apache commons.net and create a telnet module in my app or can i lauch c:\windows\system32\telnet.exe in windows (if my app is lauched on win) and /usr/kerberos/bin/telnet (if my app is lauched in Linux)?
    How can I launch an external .exe application in window and how can I launch any shell script or program in Linux?
    (same as how do i lauch telnet)
    As long as the user is prompted I can see no risk of denying these kind of things so I hope and think that this should be possible!
    PS. I have managed to do it by using Runtime.exec() when running as a non JWS application, but I cannot do it when running as JWS:
    java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)I dont want to sign the application either. The reason for choosing webstart was to not have to renew certificates at our customers.
    Please help.
    Thanks for taking interest and reading this.. and I hope that someone has some helpful answers for me :)
    Edited by: Tomas_Andersen on Feb 5, 2008 6:34 AM

    Do you know how to launch Java applications (not applets) from web pages ? Thank you.
    you can setoff a java servlet from a webpage.Is that what you are talking about ??? activeateing a server side app ????

  • Maximum Activations Exceeded from Pervious Installation

    On my iMac I get a a message Maximum Activations Exceeded dialog , when i have installed cs6 trail version , i cannot open any program and see this screen , I did install adobe cs6 creative cloud , but that also showed me this screen that was valid as i had the creative could already running on two computer so I could not activate on third but now I have downloaded the trail version of cs6 and still i see this screen
    I am not able to run any of the cs6 programs I have installed as a trial  and still see the Maximum Activations Exceeded from the pervious installation
    how do I fix it
    also note I could not open any of my pervious installation programs because I always got this Maximum Activations Exceeded  so I had to uninstall it

    No, Support will not reset the activation count becuase you are trying to run the trial on the third machine.
    You already have Creative Cloud on 2 machine with the same Adobe ID.
    Use different Adobe ID with which you haven't bought creative cloud and use that one to "License the Software"

  • Is is possible to open indesign from a script?

    Is there any way to open indesign from within a script, or does the application already need to be running before a script can access it?
    Thanks in advance.
    Jude Fisher
    http://www.jcfx.eu

    In Applescript, when you compile the code, the app must be running. If it's not, then it will start.
    When you run the script, InD doesn't have to be started first. You could have some Finder actions happen, then InD starts at the needed time when it's actions occur. You can have an if/then statement that only requests InD to do an action only if other circumstances are met. You do not even need to tell application InD to launch, just the first tell app statement will do it.
    I do not know how things work in Javasc or VB.

  • Cannot Print InDesign from Windows 7 OS

    Hi all,
    I am hoping someone might be able to suggest something that can fix this issue. I just got a new machine with Windows 7 as the OS. This is a brand new machine. I've installed PageMaker, InDesign CS4, and Acrobat 9 Pro - complete installations of each. When I attempt to print to any printer (my local, the network, or PDF) only garbage prints on the page... It appears as symbols and characters across the top of each page and seems to feed pages indefinitely until forcing met to shut off the selected printer.
    I've checked for updates and all are up to date.
    I tried to outsmart it by printing as a PDF and also tried exporting to PDF. It works on three of five files. The two that will not create a PDF gives an error stating that Distiller cannot be started.
    Any suggestions are most appreciated.
    Thank you!

    Well, I can report that removing the HP 2800 InkJet driver did not fix the problem.
    The only drivers currently installed (now) are applicable to either my local printer or the network printers that I use. All test pages print without issue.
    The only print issues I am experiencing from any program is from Adobe PageMaker and InDesign.
    Open for more suggestions and very grateful for your help!

  • Launching Rescue & Recovery from a Command Line

    Question - I would like to know how I can launch Rescue & Recovery from a command line.
    Issue that is prompting the question -  My laptop was sitting in my computer bag overnight. The battery was fully charged. I BELIEVE that it was in suspend mode at the time. When I opened it in the morning, there was a message on the screen saying that a backup had not completed successfully. I then noticed that the battery had run down completely.
    My Plan - I would like to launch Rescue & Recovery (as well as the Defrag utility) from Windows Task Scheduler. If I do, then all schedule tasks will be launched and controlled using the same process. Windows Task Scheduler also provides two key scheduling criteria that the IBM Rescue & Recoverry or the IBM Maintenance Manager utilities do not provide -
    #1 - Run this task only when the PC is on AC power.
    #2 - Run this task ony when the computer is idle (so that it doesn't slow down the PC if I happen to be working on it)
     Background Concerns -
    - Having a backup job automatically start when the computer is in my computer bag will run down my battery when I least expect it.
    - The PC may could also be damaged due to overheating, since the sides of the computer bag  block the ventilation holes.
    Additional Info
    - If I go to the ThinkVantage Productivity Center and select the Quick Link for "Backup Now" this will indeed launch a backup on demand. I assume that selecting this option is calling a specific executable file.
    - However, the only two applicable executable files that I see in the C:\Program Files\Lenovo\Rescue and Recovery directory are "mr_gui.exe" and "wizrr.exe". Both of these files launch an interface that requires the user to make a selection. As a result, it doesn't look as if either of these files would work for unattended operation, unless there is some sort of switch that I can put in that will automatically start the backup process.
    - I called the support line (only once so far), but that particular rep did not know of any way to launch Rescue & Recovery other than from the standard R&R user interfaces.
     Any help is greatly appreciated,
    Mathew

    The correct way to invoke a JSP is to make a request to the Server.
    Normally you would use your browser to do this.
    On a unix system, you can use the wget command to invoke a url without using a browser.

  • Logon failed error when launching Web Intelligence from InfoView

    After changing the Web Intelligence preferences in BusinessObjects Enterprise XI 3.0 Java InfoView to launch the desktop or rich client option, I get a "logon failed" error message. However, when I launch Web Intelligence Rich Client from 'Start > Programs >...' directly, the same logon information is successful. The logon is set to use Enterprise authentication which is the same logon information used to launch InfoView and Web Intelligence.
    Why does the logon fail when I launch Web Intelligence from InfoView?
    Edited by: Ana on Mar 31, 2009 3:43 PM

    I deleted the report completely and rebuilt it from scratch, and also added names for the data table and data set generated within the project and finally, success!
    Jason, thanks so much for your help which got me moving on this again.

Maybe you are looking for