I have two script. one for indesign and another for photoshop. how can i merge both scripts?

hi all,
i have one script for indd which convert a user selected table as JPG (1276 px width, height varies). Second photoshop script which ask user to select jpg file and then check if pixel height is less than 1018 pixel, then it enlarge canvas size(height) to 1018 px.
how can i combine both script, any tip or how to start would be helpful? The workflow should be:
user select the table in indd document
table export as jpg
script will ask to select table jpg file or if it can be automated too that would be good.
enlarge canvas height to 1018 px
thanks
virender
PS: i already read the Java scirpt tool guide pdf but unable to understood

Hi,
I see two possible approaches here. The most logical would be to use a BridgeTalk Object that let you execute another app js code inside yoru primary app. In your case, you start your script from within InDesign and at some point the Photoshop specific script is executed thanks to the BridgeTalk Object.
Other option is to use either AppleScrip or VB to execute the codes while targeting the specific app.
Eventually, you may have your PS code in some external file and call $.evalFile when of course the file has a target instuction as Peter exposed.
Once again, I think what you need is BridgeTalk.
FWIW,
Loic
http://www.ozalto.com

Similar Messages

  • HT1491 I have two itunes accounts with different Apple ID's.  How can I merge them into one?

    I ahve two itunes accounts with different Apple ID's.  How can I merge them into one account?

    Apple has no provisions for this. You cannot merge multiple Apple ID's into one ID. Content is always tied to the Apple ID that was used to purchase it.

  • I have two iTunes accounts, one for music and another for audiobooks.  I want to merge them and maintain only one iTunes account.  How do I do it?

    I have two iTunes accounts, one for music and another for audiobooks.  I want to merge them and maintain only one iTunes account.  How do I do it?

    You cannot.

  • I have two iphones one older iphone4 and one newer iphone5. I want to set the iphone4 as an Airplay receiver and the other iphone 5 as the sender. do you know if this is possible?

    I have two iphones one older iphone4 and one newer iphone5. I want to set the iphone4 as an Airplay receiver and the other iphone 5 as the sender. do you know if this is possible?

    Sorry. Apple's policy states that accounts cannot be merged > Frequently asked questions about Apple ID
    Contact Apple for assistance > Contacting Apple for support and service

  • I have two acounts one my pc and trying to transfer my itunes library from one acount to another and thoughts on how

    i have two acounts one my pc and trying to transfer my itunes library from one acount to another and thoughts on how

    Hi there,
    You may find the article below helpful.
    iTunes: How to share music between different accounts on a single computer'
    http://support.apple.com/kb/HT1203
    -Griff W.

  • HT204053 Good Morning, I have 2 Apple Account, will be possible to integrate each other in one account ? And if is possible, How can I do that ? Thanks, Fabio.

    Good Morning, I have 2 Apple Account, will be possible to integrate each other in one account ? And if is possible, How can I do that ? Thanks, Fabio.

    You don't have to do anything with the first iPod that you don't use anymore. If you are planning on keeping it, put in a drawer in your house and forget about it.
    You don't need a second account to use with the new iPod. I use one Appl e ID and iTunes library for two iPods, and two iPad. I have different content on all four devices. You can select exactly what you want to sync to each device and it can be different content on all devices.

  • I am doing two people's jobs and I need to use two separate log-ins on the same website. How can I keep both log-ins open at the same time. Everytime I switch tabs I have to log in again.

    I am doing two people's jobs and I need to use two separate log-ins on the same website. How can I keep both log-ins open at the same time. Everytime I switch tabs I have to log in again.

    Try one of these extensions for multiple cookie sessions.
    Multifox: <br />
    http://br.mozdev.org/multifox/ <br />
    Cookie Swap extension: <br />
    https://addons.mozilla.org/firefox/3255/ <br />
    Cookie Pie extension: <br />
    http://www.nektra.com/oss/firefox/extensions/cookiepie/

  • Can i have a apple id for music and another for icloud?

    can i have a apple id for music and another for icloud?

    You can use one ID for the iTunes store account where you buy music, and another for an iCloud account.

  • I have two imacs in different rooms and Safari started crashing immediately after opening on both machines. latest version is installed.Any ideas?

    I have two iMacs in different rooms and Safari started crashing immediately after opening on both machines. latest version is installed.Any ideas?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if Safari crashed, you would enter "Safari" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • I upgraded to OS8 for my Iphone 5 and now I have no access to e-mail and several apps. How can I address this problem? For those who have an iphone 5 I recommend not upgrading to the new OS until these bugs are resolved.

    I upgraded to OS8 for my Iphone 5 and now I have no access to e-mail and several apps. How can I address this problem? For those who have an iphone 5 I recommend not upgrading to the new OS until these bugs are resolved.

    I foolishly downloaded OS8 on my iPhone 4S. It not only greyed out my wifi button making it impossiblr to use wifi, but bluetooth connection doesn't work either. I reset the phone to factory settings but that did nothing apart from loose all my photos and contacts. OS 8 was still on after too. Apple say it is a problem but the download only brought the fact the hardware was faulty to the fore, but not being under warranty , the repair would cost £166 that I would have to pay. Totally unacceptable. If the problem was known and they knew it would cause problems on older models, why have it bob up on iTUNES for download.
    Don;t download it guys, APPLE aren't admitting culpability and it will cost you a fortune to put right!!

  • I have just used migration assistant to import photos (using an ethernet cable) from my PC. It has worked but they have gone into a new user on my MacPro. How can I merge them into the one user account.

    I have just used migration assistant to import photos (using an ethernet cable) from my PC. It has worked but they have gone into a new user on my MacPro. How can I merge them into the one user account.

    How many pictures (or how many bytes) are we talking?  Now that the pictures are imported one way to cross users is to use a removable drive (although large volumes of files preclude this).
    The other is to login as the user where the pictures are, then copy them into the public drop box of the user where you want the picture.
    The arrow is showing (in ths example) copy files from the Pictures folder for my user to the guest user accounts public dropbox.  When you do this you may have to authenticate and you won't be able to see the results of the copy until you log in as the other user.
    All users are in the folder "/Users/"

  • Indesign and bridge keep crashing how can this issue be resolved?

    Indesign and bridge keep crashing how can this issue be resolved?

    how can this issue be resolved?
    With your lack of info not at all. you have not even told us what versions of the programs much less any system info or other technical details.
    Mylenium

  • Can windows xp use a different sound card for itunes - I want to use a sound card for itunes and another for all other apps

    Can Windows XP use a different sound card for itunes - I want to use a sound card for itunes and another for all ther apps

    To the best of my knowledge, Windows is not capable of setting a specific sound card based on the app being used, it's all or nothing.
    Try a google search or search the Microsoft site.

  • I have an ipad 2 and want to have one account for home and another for work, how do i do this?

    I have an Ipad 2 and use it for work, I want to run a second account for home, how do I do this?

    What kind of accounts? Multiple email accounts are supported.
    Multiple user accounts are not.
    If you are saying you would like to have one set of apps, media, etc
    for work and a different set for home, and switch between the 2
    depending on network login or location, this is not a feature of iOS.
    If this is not what you are asking, please post more details so someone
    may offer a solution.

  • Hi I am hoping to add my 2 TB time capsule to my existing wireless network using cisco dpq 3925 modem. I have two mbp one running Yosemite and the other os 10.7.5

    I have a time capsule 2TB model 1409. I would like to connect it to my existing wireless network (using a cisco DPQ 3925 modem). I have two mac book pro one running Yosemite and the other OS 10.7.5. The best I can do is to connect the TC to the Modem via ethernet. Have one of my MBP connect to the time capsule using a ethernet cable and have the TB set to bridge mode. In this configuration, both mbp and the iPad can detect the TC but when I try to connect it to the wireless network, using the same network name and password, the light flashes amber and I cannot detect the time capsule again.

    Correct..
    The best I can do is to connect the TC to the Modem via ethernet.
    The TC does not connect to non-apple routers by wireless.. well. It is possible but so poor a method that Apple seem to have eliminated it in the setup wizard.. I would take that as a good thing..
    If you cannot use ethernet you have two choices..
    Use another apple router that is plugged into the Cable modem.. eg a second hand Extreme Gen5 or the latest Express.. the Extreme is both cheaper and better.
    Or you can use a set of EOP (homeplug) adapters.. but they cannot be guaranteed to work so you should buy from a place that allows returns.

Maybe you are looking for

  • How to correct internal memory issue

    This is related to the standard SAP program SAPRCKM_MR11 in which there is one include RCKM_MR11F01 which contains a select statement : SELECT *      INTO CORRESPONDING FIELDS OF TABLE t_bhistory      FROM v_ckmlgrir      WHERE bukrs EQ p_bukrs     

  • Can I use two different scales in the same graph on LabVIEW5.11

    I found that this can be done in LabView6i but I'm using 5.11. Can I do that also?

  • How to call Java Webdynpro from UWL

    Hi All, How to Call the Java Webdynpro Application from UWL by task? I Know about the TX - SWFVISU, briefly explained about the parameters to be maintanied for approval task from workflow. What all the necessary parameters (settings) to be maintained

  • Discoverer Plus Window Just Disappears

    I have installed 10g IAS on a 2000 server. (Both infra and Midtier on the same) I am running Discoverer plus from an XP machine. At any time, the Discoverer Worksheet along with the Discoverer Login window will just disappear. GONE, BYE-BYE... An ico

  • How to create Scrolling usable images in director?

    Hey Everyone, I've tried searching for this topic but couldn't find anything, but does anyone know how to create a function that allows small images to be on screen that allows users to scroll from one image to the next? So one main image is in the m