Access Standard InDesign Menu

Trying to write a series of scripts that, bottom line, do the following.
Open existing files > Import existing XML > Data merge from existing txt > save as > export each page as individual pdf per specific settings
I have the save as and the pdf part scripted but can figure out the first three.
I would imagine the simplest way is the launch a menu item using the script rather than re-script it since I want the dialog box so I can choose the right files.
There are multiple ID files that all get the same XML but not all get the same data merge. And it will be a script that is purposed for many versions of this same action. The scripting guide states that you can access menu items but the methods it provides do not work.
Any help is greatly appreciated.

Hi,<br />Way 1:<br />var myFiles = [File(".../file1.indd"),File(".../file2.indd"),etc.]<br />for(i=0; i<myFiles.length; i++) { app.open(myFilesArr[i]); } <br /><br />> Error was generated from the variable mismatch name (myFiles/myFilesArr)<br />var myFiles = [File(".../file1.indd"),File(".../file2.indd"),etc.]<br />for(i=0; i<myFiles.length; i++) { app.open(myFiles[i]); } <br />This works.<br /><br />Way 2:<br />var myFolder = Folder.selectDialog("Choose a folder");<br />var myFiles = Folder(myFolder).getFiles("*.indd")<br />for(i=0; i<myFiles.length; i++) { app.open(myFiles[i]); } <br />This works more or less. You don't really care about the files being greyed cause you are not requested to select files but a folder which contains indesign files.<br />If there is any, they will be opened.<br />However, this method works weirdly on mac and was deeply detailed By Dave Saunders on his blog.

Similar Messages

  • New Menu Item entry in Standard Help Menu

    Hi experts,
    I have added a custom menu item under the standard Help menu of SAP using SE41 (Menu Painter) with pragram name: MENUSYST and status: MEN
    I added the new entry and gave it a function code and activated the function code as well as the interface MENUSYST.
    This worked fine and the entry is visible at the desired location. Now on click of this new entry, I need to open a URL. I had a look at the HELP_START function module but modifying that to call the URL on click of the new menu item, would require an access key.
    Is there any other method available to accomplish the task?
    Regards,
    Reema.

    Hello,
    Basically I need to open a Custom Web Dynpro Application that I have created. Also I need to pass the trannsaction code as a parameter in the URL of the WDABAP Application.
    Pl help me proceed.
    Regards,
    Reema.

  • Issue when accessing standard LM transactions via ITS

    Hi,
    We are implementing WM using ITS Mobile.
    We have developed certain custom screens and also used standard transactions such as LM02 and LM04.We have created  a internet service for transaction LM01 and published all our custom and standard screens within the service.
    When testing the transactions in R/3 using LM01 transaction..there were no issue...
    But when testing the same in ITS....once we enter into a standard transaction like LM02(By clicking the corresponding menu entry) and click on Back button...it must bring me back to my menu( transaction LM01)...instead...my ITS session gets logged off...displaying message...'You have been logged off from SAP NetWeaver Application Server'.
    We are facing the same issue when we try to access standard LM transactions via ITS...
    I tried to analyze by debugging from ITS....but the flow of R/3 and ITS remains the same...
    These are my service parameters..
    ~THEME     99
    ~SINGLETRANSACTION     1
    ~ITSMOBILE     1
    ~TRANSACTION          LM01
    ~SOURCES     ZWM_MENU,itsmobile
    ~GENERATEDYNPRO     1
    ~POPUPS     1
    Did any of you face a similar kind of issue when accessing standard LM transactions in ITS ?
    Kindly Suggest.
    Regards,
    Thyagu.
    Edited by: Thyagu Natarajan on Jan 25, 2011 1:00 PM

    Hello,
    I am also trying to implement WM using ISTMobile, but i have a little problem... when i am in my local network the service works and calls the page in the browser, but when i am in other network it gives me "Could not connect to remote server" (off course).
    I undertand that i can´t access my server through other networks...  but can anyone tell me if i it is possible to access SAP ITSMobile transactions through the internet?? Is the solution create a VPN network to my local network or something like that?
    Thanks a lot.

  • How to make Javascript access standard JSF component

    Hello all,
    I'm in need of a proper javascript code that access standard jsf component.
    Like we do for html tags;
    if( el.tagName.toLowerCase() != 'select')
    I need to do the same thing for a jsf tag i.e; <h:selectOneMenu>. How to make javascript access <h:selectOneMenu> like it does with <select> tag ? Please let me know asap. Extremely sorry if the question is kind of stupid....cause I'm a beginner for JSF environment.
    Any sort of help, suggestion or advice would highly be appreciated.
    Thanks in advance.

    Ummmm, I may be off the beaten path, but by the time your javascript is called the h:selectOneMenu would be a select tag within the dom. You should be able to reference that tag as you normally would.

  • How to add a custom code to standard sap menu

    Hello guru,
    will you please explain me how to add a custom code to standard sap menu?
    thanks in advance.
    Best regards.
    juan

    Hello juan,
    with SE43N you can add custom transaction codes to the existing menues.
    see http://help.sap.com//saphelp_erp2004/helpdata//EN/00/783b377bfdcf61e10000009b38f936/frameset.htm
    regards
    johannes

  • Change in Standard SAP menu : How to catch the transaction code!

    Hello,
    I have added a menu item 'More Help' to the standard SAP menu 'Help' which should navigate to URLs for the respective transactions. Suppose i am in transaction FB03 and click the 'More Help' menu, it should navigate to the URL mentioned in a table.
    My Problem is I have created a transaction for that menu item 'zhelp' which calls a program and when i am clicking the 'more help' tab , the original value of sy-tcode which should be FB03 is replaced with the new Transaction which is used for the menu item i.e. 'zhelp'. Because of this i am not able to retrieve my value from the table corresponding to the transaction FB03.
    Is there any other system field which stores the value of transaction FB03 aftter navigating to other transaction? How should i go ahead with this? Please help!!
    Edited by: Rojalin Priyadarshiny on Sep 10, 2009 3:45 PM

    Hi,
    I really dont know in how many standard transactions you have added the More Help option.
    If you hav added only in 2  to 3 transactions then you can think on using the below Logic.
    Say if u have added in  FB01, FB02 and FB03 transaction.
    Find one exit for each transaction, in the exit EXPORT TCODE ( EX: FB01 ) to memory.
    In your Ztransaction report IMPORT the TCODE from memory.
    Now u will get FB01 after inmport statement and u can make use of this.
    If the option is added in many transactions , you have to think again in using the above logic as it involves identification of many Exits.
    Regards,
    Sravan

  • I am unable to get past the apple login screens on my iPad to access my settings menu for a new home network. My password is not recognized so I cannot even get into the settings mode to make a chance. How can I get past the Apple logins?

    I am unable to get past the apple login screens on my iPad to access my settings menu for a new home network. My Apple password is not recognized so I cannot even get into the settings mode to make a chance. How can I get past the Apple logins?

    Hey Dpcupcake,
    If you can not get past the sign in screen on your iPad, you will need to use the steps in this article to recover use of your iPad -
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • My LG Optimus Zone is having software issues and I can't access the Recovery Menu for a Factory Reset

    My LG Optimus Zone is having software issues and I can't access the Recovery Menu for a Factory Reset. It was working fine until I went to activate it and update the PRL. It turns on, but Freezes on the LG Logo. it currently goes into the LG Download Mode, and When I restore with LG's Mobile Support Tool, It finishes, reboots, and stays at the boot Logo. I was wondering if I can possibly get a replacement phone? This is a little upsetting, as i was hoping to have it transfered from prepaid to postpaid service next month

    Who is your Internet Service Provider...?
    Do you have any computer which is able to go online wirelessly...?
    Have you forwarded any ports on the router...?
    Try to adjust the wireless settings on the router and check...
    Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter...Leave Username blank & in Password use admin in lower case...
    Under the Wireless tab,Change the SSIS(Network Name) to some unique name.Change the Channel Width to 20MHz only and Channel to 11,click on save settings.Under the Wireless Security subtab,Change the Security to WEP and type any ten digit number in key1 as the network security key,click on save settings..Under the Advanced Wireless Settings,Change the Beacon Interval to 75,Change the Fragmentation Threshold to 2304,Change the RTS Threshold to 2304 and Click on Save Settings...
    Also,for the gaming system,check this link.

  • How to access standard toolbar of IE

    Hi
    Can anyone have some idea about accessing standard toolbar of IE just like we can now access sys tray of Windows.
    I want the functionality of Yahoo IM so that when any user install my application an icon(shortcut) for that should be added to IE toolbar
    If this is possible in java only or with JNI
    Please guide me
    Thanks

    Microsoft uses ODE and DDE. What you want to use is OLE, and as such, I believe you are going to have to do some JNI programming to get Java to work with that interface the way you intend.

  • CS6, standard motion menu loops to black

    Since I have beaning having the problem with rendering my blu-ray project, I worked on a DVD project today that I had previously completed in CS5.5
    My client requested some changes, so I made the modifications in Premier Pro, created a MPG2 file,
    and replaced it in the encore project. This is a motion menu (standard "NTSC_Floral Menu").
    Since this worked previously I had no doubt it would work again, but when I viewed the DVD, the menu (motion) only runs for about 30 seconds and goes to black. The thumb nail buttons are still visible (non animated).
    The exact same thing happens in Preview!
    Loop is set to forever!

    Great, thank you both for your replies.
    The motion menu is not created by me but one of your standard menu's included in the library. All I did was import the video and audio, create thumbnail buttons and linked to chapter points (non motion buttons).
    Also when I replaced the asset, I did not use the "replace Asset option". I essentially did it the old school way (dumb way) by importing the new video asset only (not the Audio) with a new name. The change made to the Ppro project was just text. I then deleted the old asset, recreated my chapter points and relinked to the buttons.
    Again, this problem never happened in CS5.1, only now in CS6.

  • Can I use standard RF Menu LM00 for IM Managed facility (No WM at all).

    Can I use standard RF Menu LM00 for perfomring IM goods movement in IM Managed facility (No WM at all).

    Hello Milind,
    LM00 is standard GUI based transaction so I think you can use it, but you need to change the menu settings i.e. you need to replace all WM transaction with your IM related developed transactions.
    Hope this helps.
    Regards
    Arif Mansuri

  • Hi I am getting an update failed message (49) when trying to update photoshop after installing and whenever I start photoshop and try to access the file menu it crashes

    Hi I am getting an update failed message (49) when trying to update photoshop after installing and whenever I start photoshop and try to access the file menu it crashes

    Duplicate thread.

  • Where is the standard context menu in IE?

    Is the standard IE context menu (cut/copy/paste etc) completely disabled in CE? If I right click an inputfield I can only get usersettings (which I don't want, so they're disabled using administrator ctrl-right click).
    After disabling user personalization I now get no menu at all if I right click an object. I can see that the event get caught by the portal.
    I really want the standard context menu! Please help!
    Regards
    Carl

    Yes, the browser menu has been replaced completely. You can use keyboard shortcuts for cut/copy/paste.
    Armin

  • Properties for Accessibility Standards

    I have created forms in Adobe Livecycle Designer 8.0 to be used online. In order to make these forms "Accessible" for our website, I need to be able to add form properties and test the accessibility from within Adobe Professional ( this functionality isn't available in Designer), but the Properties options are greyed out when the form is opened in Professional. Designer does allow you to add some properties (Title, author etc.) from within the program but once they're opened in Reader or Professional the properties do not show and therefore do not allow it to pass accessibility testing. We need to be able to use online forms but meeting accessibility standards is mandatory for our website here.
    Any help is appreciated. Thanks

    I am truly hoping SOMEONE has an answer for this!  I realize your post was some time ago - in case this went "off forum" here is the background.
    In LiveCycle Designer ES, you can set the default "Form locale" under "Defaults" on the File Properties page.  This is essentially the default language for the form.  The problem comes when you generate a pdf from the form.  Regardless of this setting, if you view the Advanced tab under the pdf's document properties, the field "Language" under Reading Options is blank, and greyed out - you cannot change it.  This is the field Adobe uses to check for accessibility- if it is blank it gives an error message upon an accessibility check reading "the form lacks a language specification".  I have searched all over this forum and all over the web trying to figure out how to correct this with no luck.  Any pointers????

  • How to access the control menu

    How to access the control menu(Restore,move,minimize,maximize,close) of JFrame and JInternalFrame can be accessed using Keyboard like in windows(Using space bar for any window we can access the control menu of that window in Windows OS).
    How to achieve this feature in Java for JFrame and JInternalFrame
    Any sample code will be helpful

    try search the forum with topic: control menu on-off

Maybe you are looking for

  • Apple TV, monitor use and lag time with mouse and keyboard

    I purchased an Apple TV so that I could use one monitor to switch between my Mac Mini and my MacbookPro. The monitor is hardwired to the Mini, but the MacbookPro uses airplay. My wireless mouse and keyboard lag with this setup. Is there a way to fix

  • New computer and video monitors for HD and PP CS5.5

    Dear All, I have recently updated to Adobe Creative Suite 5.5 Master Collection to work in conjuntion with Final Cut Pro.  I've been working with a Canon XL-1s, taping with mini-dv format in Standard Definition up to this time but am thinking of buyi

  • Screen choice question - 2011 MacBook Pro

    I'm trying to decide on a configuration for a new MacBook Pro and I'm wondering if upgrading to the hi-res screen is worth the extra $$? I'm going to get the 15" 2.0 i7 model, possibly with the faster 500gb hard drive. I don't do ANY gaming but I do

  • Group Policy/Program Compatibility Assistant/PCA

    Since installing an app that ran in build 9841 and 9860.  In build 9879, I'm get the PCA pop up.  Read up on how to turn off the PCA using GP but it doesn't work in W10TP. A little more reading and I disabled the PCA services and it still pops up! Fo

  • Open Archive Object in BSP.

    Dears, I want to open an archive object in my BSP application. But I have a runtime error when I call function 'ARCHIVOBJECT_DISPLAY' in BSP event handler. After I trace the program got a error when excuting CL_IMC_MODE=>DIALOG_CHECK. METHOD DIALOG_C