InDesign Version & VB Script

Is it posible that a Script made with VB Script runs with no problems with InDesign CS 5 from CS 5 Master Collection and does not runs with InDesign CS5 from CS 5 Premium. Both computer are running the same OS (Windows 7 x64).
Thx,
ionP

We were not able to use the solution of Run this Program as an Administrator, because when you run a program as an adminstrator, you lose the mapped drives on the workstation. We use the mapped drives extensively on our network for our workgroup. For example, drive S:\ is our regular drive for production that goes to the dfs PROD, so we remap S:\ to PROD.NEW when we are testing, and all of our scripts reference the mapped drive letter, so we can use them for testing purposes.
What our IT administrator found was the BEST solution for us as multiple users on a network was to add Modify rights to the user accounts. He logged into the machine as administrator, and did the following:
Open your InDesign application folder and select InDesign.exe.
Select Properties from the context menu.
Go to the SECURITY tab
Under the "Group or user names:" section, select USERS
To change permissions, click the EDIT button
Under the "Permissions for Users", in the row “Modify,” in the column "Allow" check YES to allow users to modify
Click OK
This will do the same thing as the above suggestion (run VBScripts under Windows 7)  AND keep the mapped network drives visible for those who use them.

Similar Messages

  • Selecting InDesign version in VB script

    I am having some difficulty with selecting the proper version of InDesign in my VB scripts.
    Usually I use the connection string: CreateObject("InDesign.Application"), which will launch in whatever version is installed.
    Now, one of my customers has installed version 6 along side with version 5.5, which means that I have to supply either: CreateObject("InDesign.Application.CS5.5") or CreateObject("InDesign.Application.CS6"), in order to get it to run on the proper version.
    What I don't understand is why the script doesn't start within the version of InDesign that it is activated from. If I use the connection string: CreateObject("InDesign.Application"), and I start it from within InDesign version 6 (from the script menu), why does it launch version 5.5 and try to run the script there? Why does it not run inside the InDesign application that launched it?
    It quickly becomes a mess to have to modify scripts whenever people install new versions of InDesign, so is there any way to ensure that a VB script is always run within the InDesign application that launched it, regardless of what other versions people might have installed?

    you can use WMI to have a peak at all the ID processes.
    here I have both CS4 and CS5 running, hopefully only one version should be running at a time, and we can use the ExecutablePath property to get the version (CS4 for instance) from it.
    Dim WMI, Col, Ob, S2
    Err.Clear
    On Error Resume Next
    Set WMI = GetObject("WinMgmts:")
        If (Err.number <> 0) Then
           MsgBox "Error creating WMI object. Error: " & Err.Number & " - " & Err.Description
           WScript.quit
        End If  
    '-------------- processes ------------------------------------
    Set Col = WMI.ExecQuery( _
        "SELECT * FROM Win32_Process" & _
        " WHERE Name = 'indesign.exe'",,48)
      S2 = S2 & " Process Info:" & vbCrLf & vbCrLf
      For Each Ob in Col
        S2 = S2 & "Caption: " & Ob.Caption & vbCrLf
        S2 = S2 & "ExecutablePath: " & Ob.ExecutablePath & vbCrLf
        S2 = S2 & "ProcessID: " & Ob.ProcessID & vbCrLf & "__________________________" & vbCrLf & vbCrLf
      Next
                msgbox S2
    Set Col = Nothing
    Set WMI = Nothing
    MsgBox "Done."

  • IDML created with InDesign CC crashes in all InDesign versions

    Hi i have a strange problem when i export a file with InDesign CC as IDML
    I can't open it again. It instantly crashes InDesign CC or InDesign CS6.
    Here is the log:
    Process:         Adobe InDesign CC [1848]
    Path:            /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Adobe InDesign CC
    Identifier:      com.adobe.InDesign
    Version:         9.0.0.244 (9000)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [389]
    User ID:         501
    Date/Time:       2013-08-16 09:53:27.812 +0200
    OS Version:      Mac OS X 10.8.4 (12E55)
    Report Version:  10
    Interval Since Last Report:          1613 sec
    Crashes Since Last Report:           7
    Per-App Interval Since Last Report:  641 sec
    Per-App Crashes Since Last Report:   1
    Anonymous UUID:                      D5C53BC8-6379-3F36-EE2C-2C6B74465B33
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
    VM Regions Near 0:
    -->
        __TEXT                 0000000100000000-0000000100006000 [   24K] r-x/rwx SM=COW  /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Adobe InDesign CC
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   com.adobe.InDesign.Text Wrap            0x0000000120289a0d 0x120267000 + 141837
    1   com.adobe.InDesign.Text Wrap            0x0000000120280ff6 0x120267000 + 106486
    2   PublicLib.dylib                         0x00000001011cce54 CScriptProvider::AccessProperties(IScriptRequestData*, IScript*) + 484
    3   com.adobe.InDesign.Scripting            0x000000011f40a0ea 0x11f3dc000 + 188650
    4   com.adobe.InDesign.Scripting            0x000000011f40aaae 0x11f3dc000 + 191150
    5   com.adobe.InDesign.INXCore              0x000000011d03e232 0x11d027000 + 94770
    6   PublicLib.dylib                         0x000000010132a8f0 CScriptDOMElement::GetMultipleAttributes(K2Vector<IDType<ScriptID_tag>, K2Allocator<IDType<ScriptID_tag> > > const&, adobe::version_1::vector<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue>, adobe::version_1::capture_allocator<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue> > >&) + 320
    7   PublicLib.dylib                         0x000000010132d2b7 CScriptDOMElement::InsertProperties(adobe::version_1::vector<KeyValuePair<IDType<ScriptID _tag>, ScriptData>, adobe::version_1::capture_allocator<KeyValuePair<IDType<ScriptID_tag>, ScriptData> > >&, adobe::version_1::vector<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue>, adobe::version_1::capture_allocator<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue> > > const&, short, short) + 311
    8   PublicLib.dylib                         0x000000010132b5b8 CScriptDOMElement::SetSimpleAttributes(adobe::version_1::vector<KeyValuePair<IDType<Scrip tID_tag>, DOMAttributeValue>, adobe::version_1::capture_allocator<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue> > > const&, short) + 88
    9   PublicLib.dylib                         0x000000010132dd8e CScriptDOMElement::InitializeElementAttributes(adobe::version_1::vector<KeyValuePair<IDTy pe<ScriptID_tag>, DOMAttributeValue>, adobe::version_1::capture_allocator<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue> > > const&) + 14
    10  PublicLib.dylib                         0x000000010132b86a CScriptDOMElement::InitializeAttributes(adobe::version_1::vector<KeyValuePair<IDType<Scri ptID_tag>, DOMAttributeValue>, adobe::version_1::capture_allocator<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue> > > const&, short) + 74
    11  com.adobe.InDesign.SaveBack             0x000000010bfe772e 0x10bfdc000 + 46894
    12  PublicLib.dylib                         0x000000010117f321 INXImportHelper::QueryOrCreateFragment(IDOMElement*) + 49
    13  com.adobe.InDesign.INXCore              0x000000011d095baa 0x11d027000 + 453546
    14  PublicLib.dylib                         0x000000010117e8f8 INXImportHelper::CreateElement(IDOMElement*, IDType<ScriptID_tag>) + 648
    15  com.adobe.InDesign.INXCore              0x000000011d09534d 0x11d027000 + 451405
    16  PublicLib.dylib                         0x000000010117e8f8 INXImportHelper::CreateElement(IDOMElement*, IDType<ScriptID_tag>) + 648
    17  com.adobe.InDesign.INXCore              0x000000011d063651 0x11d027000 + 247377
    18  com.adobe.InDesign.INXCore              0x000000011d05faeb 0x11d027000 + 232171
    19  com.adobe.InDesign.XMLParser            0x0000000121182818 0x121180000 + 10264
    20  com.adobe.InDesign.XMLParser            0x0000000121188a52 0x121180000 + 35410
    21  com.adobe.AXE8SharedExpat               0x0000000104b53d98 0x104b3d000 + 93592
    22  com.adobe.AXE8SharedExpat               0x0000000104b527c1 0x104b3d000 + 88001
    23  com.adobe.AXE8SharedExpat               0x0000000104b516f5 0x104b3d000 + 83701
    24  com.adobe.AXE8SharedExpat               0x0000000104b541d2 0x104b3d000 + 94674
    25  com.adobe.AXE8SharedExpat               0x0000000104b5123e 0x104b3d000 + 82494
    26  com.adobe.InDesign.XMLParser            0x0000000121188045 0x121180000 + 32837
    27  com.adobe.InDesign.INXCore              0x000000011d05e2f2 0x11d027000 + 226034
    28  com.adobe.InDesign.XMLParser            0x00000001211823cc 0x121180000 + 9164
    29  com.adobe.InDesign.XMLParser            0x00000001211889c2 0x121180000 + 35266
    30  com.adobe.AXE8SharedExpat               0x0000000104b53d40 0x104b3d000 + 93504
    31  com.adobe.AXE8SharedExpat               0x0000000104b524d0 0x104b3d000 + 87248
    32  com.adobe.AXE8SharedExpat               0x0000000104b516f5 0x104b3d000 + 83701
    33  com.adobe.AXE8SharedExpat               0x0000000104b5123e 0x104b3d000 + 82494
    34  com.adobe.InDesign.XMLParser            0x0000000121188045 0x121180000 + 32837
    35  com.adobe.InDesign.INXCore              0x000000011d034274 0x11d027000 + 53876
    36  com.adobe.InDesign.INXCore              0x000000011d0799b0 0x11d027000 + 338352
    37  com.adobe.InDesign.SaveBack             0x000000010bfdee2d 0x10bfdc000 + 11821
    38  com.adobe.InDesign.SaveBack             0x000000010bfddf68 0x10bfdc000 + 8040
    39  com.adobe.InDesign.SaveBack             0x000000010bfddcd4 0x10bfdc000 + 7380
    40  com.adobe.InDesign.Open Place           0x000000011d7baf2f 0x11d7b1000 + 40751
    41  com.adobe.InDesign.Open Place           0x000000011d7ba57a 0x11d7b1000 + 38266
    42  com.adobe.InDesign.Open Place           0x000000011d7b200b 0x11d7b1000 + 4107
    43  com.adobe.InDesign.Open Place           0x000000011d7b2f01 0x11d7b1000 + 7937
    44  PublicLib.dylib                         0x00000001010d4481 Command::DoImmediate(short) + 33
    45  com.adobe.InDesign.Utilities            0x0000000120b7c47c 0x120b7b000 + 5244
    46  com.adobe.InDesign.Utilities            0x0000000120b7c605 0x120b7b000 + 5637
    47  com.adobe.InDesign.AppFramework          0x0000000119b0b26f 0x119b00000 + 45679
    48  PublicLib.dylib                         0x00000001010d3740 CmdUtils::ProcessCommand(ICommand*) + 64
    49  com.adobe.InDesign.Import Export UI          0x000000011cb2a254 0x11cb23000 + 29268
    50  PublicLib.dylib                         0x00000001010d4481 Command::DoImmediate(short) + 33
    51  com.adobe.InDesign.Utilities            0x0000000120b7c47c 0x120b7b000 + 5244
    52  com.adobe.InDesign.Utilities            0x0000000120b7c605 0x120b7b000 + 5637
    53  com.adobe.InDesign.AppFramework          0x0000000119b0b26f 0x119b00000 + 45679
    54  PublicLib.dylib                         0x00000001010d3740 CmdUtils::ProcessCommand(ICommand*) + 64
    55  com.adobe.InDesign.Document Actions          0x000000011b310fb9 0x11b2fc000 + 85945
    56  com.adobe.InDesign.Document Framework          0x000000011b459f43 0x11b32f000 + 1224515
    57  com.adobe.InDesign.AppFramework          0x0000000119b59a2a 0x119b00000 + 367146
    58  com.adobe.InDesign.AppFramework          0x0000000119b5433e 0x119b00000 + 344894
    59  com.adobe.InDesign.AppFramework          0x0000000119b538e5 0x119b00000 + 342245
    60  PublicLib.dylib                         0x00000001011cc69a CScriptProvider::HandleMethodOnObjects(IDType<ScriptID_tag>, IScriptRequestData*, adobe::version_1::vector<InterfacePtr<IScript>, adobe::version_1::capture_allocator<InterfacePtr<IScript> > > const&) + 458
    61  com.adobe.InDesign.Scripting            0x000000011f407724 0x11f3dc000 + 177956
    62  com.adobe.InDesign.Scripting            0x000000011f404738 0x11f3dc000 + 165688
    63  com.adobe.InDesign.Scripting            0x000000011f404d50 0x11f3dc000 + 167248
    64  com.adobe.InDesign.Support for AppleScript          0x000000011f921063 0x11f8f1000 + 196707
    65  com.adobe.InDesign.Support for AppleScript          0x000000011f91e75a 0x11f8f1000 + 186202
    66  com.adobe.InDesign.Support for AppleScript          0x000000011f91dae2 0x11f8f1000 + 183010
    67  com.adobe.InDesign.Support for AppleScript          0x000000011f8f251c 0x11f8f1000 + 5404
    68  com.apple.AE                            0x00007fff900b0078 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 307
    69  com.apple.AE                            0x00007fff900afed9 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 37
    70  com.apple.AE                            0x00007fff900afd99 aeProcessAppleEvent + 318
    71  com.apple.HIToolbox                     0x00007fff8e63d709 AEProcessAppleEvent + 100
    72  com.apple.AppKit                        0x00007fff8c5f8836 _DPSNextEvent + 1456
    73  com.apple.AppKit                        0x00007fff8c5f7df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
    74  com.apple.AppKit                        0x00007fff8c5ef1a3 -[NSApplication run] + 517
    75  com.adobe.exo.framework                 0x00000001028a7e98 exo::app::OS_AppBase::RunEventLoop() + 56
    76  com.adobe.InDesign.AppFramework          0x0000000119c0dff3 0x119b00000 + 1105907
    77  com.adobe.InDesign.AppFramework          0x0000000119c0d182 0x119b00000 + 1102210
    78  com.adobe.InDesign                      0x0000000100001dbc main + 412
    79  com.adobe.InDesign                      0x0000000100001bb4 start + 52

    Sorry, here is my crash report http://pastebin.com/Yz6RrWZQ

  • How to disable the option of "Overprint [Black] Swatch at 100%" in Indesign by Apple Scripting

    Hi Friends,
    I am new to Indesign Scripting by Apple Script. As a beginner, I am trying to do some basic scripting in Indesign by Apple Script.
    My aim is to disable the option of "Overprint [Black] Swatch at 100%" in Indesign. This option is available when we go to Indesign ---> Preferences----> Appearance of Black.
    Also, if a user opens a file, in which the swatch is already enabled, then it should prompt him for disabling.
    I can make a display dialog in AppleScript. But, I am bit unsure as how can I go ahead and disable this option. I tried this below script:
    tell application "Adobe InDesign CS4"
          tell every layout window to set overprint preview to false
    end tell
    However, it is changing the view option to overprint preview.
    Appreciate your help and suggestions!
    Thanks,
    Abhishek

    tell application "Adobe InDesign CS5"
              tell the active document
                        set overprint black of document preferences to false
              end tell
    end tell

  • Mini Bridge Missing from InDesign CS6 after Upgrade to InDesign Version 8.1

    I discussed this same problem https://forums.adobe.com/message/5833991 after upgrading to the prior version 8.0.2 of InDesign.
    After upgrading to InDesign Version 8.1, Mini Bridge no longer works.  Mini Bridge does not show under the Window menu and shift-clicking the Bridge icon opens the full Bridge, not Mini Bridge.
    With the prior version 8.0.2 problem, I was able to recover Mini Bridge by doing a re-install of InDesign under Window's Safe Mode.  Microsoft has somehow changed Safe Mode and I can no longer do the reinstall using Safe Mode.  I have tried several different ways of reinstalling version 8.1, but none of them correct this problem.  Still no Mini Bridge.
    Mini Bridge does work in Photoshop CS6 with no problem.
    I have read through all of the messages that seem to relate to this problem in this forum, but none of the suggested solutions work for me.
    Can anyone provide me with an answer?  If not, how do I get help from Adobe?  I am willing to pay for support, if necessary.

    RESOLVED - I can't believe it, but I have actually figured this out.
    Getting frustrated with going in circles, I decided to dig into security options.  First off, I opened Windows' Properties for the start-up icon for InDesign.  Right off, I noticed under the Compatibility tab that InDesign was set to run in Compatibility Mode for Windows XP (Service Pack 3).  This did not seem right, so I turned off the option to run in Compatibility Mode and re-started up InDesign.  Low and behold, the option Window | Mini Bridge was now displayed!  And it worked!
    Sorry to have bothered you gentlemen with this problem.  I really appreciate your assistance!
    Mark.

  • How create indesign using Java Script

    I am new in indesign and want to create indesign application using JavaScript.
    When i use AppleScript to create Indesign Application i use this statement
    tell application "Adobe InDesign CS5.5"
    set myDocument to make document with properties
    end tell
    Indesign Application create sucessfully.
    How create Indesign Application using JavaScript ?
    or what is equivelent statement of ( tell application "Adobe InDesign CS5.5" ) in Java Script.
    There are some java scripting example given on forum or in sdk.These all example start with app.
    when I debug these java script using ExtendScript ToolKit 3.6 It give error on app (undefined app).I think this app ia application object.
    How create  indesign application object  app in javascript ?
    While this script run sucessfully when i put these script in C:\Program Files\Adobe\Adobe InDesign CS5.5\Scripts
    and to run these script use Scripts panel (choose Window > Utilities > Scripts), then double-click the script name in the Scripts panel in indesign application.But In this case first i start indesign application and then choose Window > Utilities > Scripts then double-click the script name in the Scripts panel.
    I want to create Indesign Application (instance) using JavaScript.When I run or (debug) my JavaScript in any javaScript tool like ExtendScript ToolKit 3.6 then Indesign application should start, like in Apple Script.
    Thanks

    Thanks Vamitul for reply
    For example when i run SelectObjects.jsx An InDesign CS5.5 JavaScript in ESTK  then message prompt "Target Adove Indesign CS5.5 is not running. Do you want to lanch." Then on click yes Indesign application start.
    I want to Know how indesign object "app" is created to start Indesign application on click yes.
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/In DesignScripting/InDesign-ScriptingTutorial.pdf
    Like in VB to create indesign object we use CreateObject("InDesign.Application"). In javascript how create object say "app" of InDesign Application.
    For example if  i write
    var myDocument = app.documents.add();
    var myTextFrame = myDocument.pages.item(0).textFrames.add();
    myTextFrame.geometricBounds = ["6p", "6p", "24p", "24p"];
    myTextFrame.contents = "Hello World!";
    in a simple text file and save it with .js extention and to open this double click on this  it give error undefined "app".
    Source :Microsoft JScript runtime error
    So how define "app" or create indesign object ?
    Thanks

  • Find raster Image & Vector image in adobe indesign using apple script?

    Find raster Image & Vector image in adobe indesign using apple script?

    Find raster Image & Vector image in adobe indesign using apple script?

  • Photoshop and indesign version cs3 compatible with "Montain Lion"? Please answer me, otherwise I'd rather stick to my loyal and "Snow Leopard" STEVIE

    Is Adobe Photoshop and Indesign (version cs3) compatible with "Montain Lion"?
    Please answer me, otherwise I'd rather stick to my loyal and "Snow Leopard"

    Welcome to Apple Communities
    It's supported http://www.adobe.com/products/creativesuite/faq.html#lion-os

  • Indesign Image Catalog Script

    Hi,
    I need to change the current Indesign (CS3)ImageCatalog script (.jsx) to look a all files and folders on a CD not just a single folder. Does anyone know how I can do this?
    Thanks!

    The way it's supposed to be used is by changing the way you wiev files in Bridge. Disable folders, and you will see all files.
    So in Bridge choose the CD*/Folder that contains the images/folders with images you wish to use, in the Filter Panel, click on the Folder symbol, this will show all files in all folders below the containing folder.
    Selecting no files, and just running the Indesign Contact Sheet script will then use all the files.
    *(Actually you should properbly copy the files to your desktop)
    That should do the trick.

  • Need to keep CS6 CC InDesign version

    I need to keep the CC CS6 InDesign Version. How do I do this?

    I suggest you explain your question in a little more detail.  There are several ways your short question could be interpreted.  Some examples:
    A. You are a current CC subscriber and plan to continue being one but you want to know if you can "freeze" your InDesign version for some period of time (in other words, not automatically accept version changes but continue to pay for access to the software).
    B. You are a current CC subscriber to the whole CC bundle and you would like to start paying ONLY for InDesign.
    C. You are a current CC subscriber to some CC plan that includes InDesign but you don't want to pay for CC anymore.  You want to know if you can continue to use InDesign without continuing to pay.
    D. English is not your primary language and you just want to know how to find the version number of the InDesign you are using.

  • How to check indesign version installed by Apple Script

    Hi Friends,
    I want to make an apple script which will check for the version of Indesign installed in the "Applications" folder.
    I tried using "exists" function of Finder. But seems something is missing/incorrect.
    tell application "Finder"
              exists application file "Adobe InDesign CS4" of folder "Applications"
      end tell
    Please can you suggest.
    Thanks,
    Abhishek

    Hi Niel,
    Thanks for your email.
    Basically, I need to check whether a user has which version of Indesign on his mac like (CS3, CS4 etc)
    Accordingly, I have to create different loops.
    I have CS4 installed on my mac but when I run the below
    tell application "Finder"
              exists version of application file "Adobe InDesign CS4" of folder "Applications" of startup disk
    end tell
    The result is false.. even though I have CS4 installed. And, if I try
    get version of application "Adobe InDesign CS4"
    It gives o/p as  "6.0.6.622"
    Thanks for your help!
    Abhishek

  • Target InDesign version

    Hi All,
    I am having Indesign CS5 and CS6 in my machine, i want to run JS in CS5, how do i target the version 
    can any one help me on this...
    my code:
    #target indesign;
    Thanks,
    David

    @David – See page 235 of "Java Script Tools Guide CS5.pdf" for details on #target and details on "namespace" for the individual application see page 191 ("Application and namespace specifiers"):
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/indesign/pdfs/JavaS criptToolsGuide_CS5.pdf
    So:
    #target indesign-7.0
    should target CS5
    #target indesign-7.5
    should target CS5.5
    #target indesign-8.0
    should target CS6
    However I had no luck with an added locale to the version name out of the ESTK:
    #target indesign-7.5-de_de
    //Some alert:
    alert(app.version);
    should address a German InDesign CS6 but yielded an error:
    "indesign-7.5-de_de is undefined"
    The following would work, but I cannot test against a second (e.g. international) version installed:
    #target indesign-7.5 de_de
    //Some alert:
    alert(app.version);
    However, if you double click on a script in the Scripts Panel and you are using no #target direction the targetted app should automatically be the app where the Scripts Panel belongs to.
    Uwe

  • How to load a CSF file in indesign cs3 via scripting?

    Hi all
    How can I load a csf file into indesign from a path?. Once loaded, it is not remaining in dropdown list. Could anyone suggest on this?
    Thanks
    Thamil

    Once loaded, it is not remaining in dropdown list. Could anyone suggest on this?
    Try to place the file to the following folder: YourUserFolder\Library\Application Support\Adobe\Color\Settings
    (This is for Mac)
    How can I load a csf file into indesign from a path?
    By script you can do this like so:
    var myPath = "~/Desktop/MySettings.csf";
    var myFile = new File (myPath);
    if (myFile.exists) {
        app.colorSettings.cmsSettingsPath = myFile;
    else {
        alert("File \""+ myPath + "\" can't be found.");

  • Oracle application server 10g version checking scripts

    Hi does anyone know how the script to check the application server 10g version on R12.1.3, without checking it on the form.

    Hi Tunde,
    You can get the detailed version of all the 10.1.2 and 10.1.3 components using the below commands
    A. 10.1.3 Component Versions
    ========================
    1. Login in to Putty as application file system owner
    2. Source the applications env file under $ORA_CONFIG_HOME/10.1.3 directory.
    3. cd $ORACLE_HOME/OPatch
    4. opatch lsinventory -detail >> inv.out
    5. Review the inv.out file and check for the Oracle Application Server and other component versions.
    B. 10.1.2 Component Versions
    ========================
    1. Login in to Putty as application file system owner
    2. Source the applications env file under $APPL_TOP
    3. cd $ORACLE_HOME/OPatch - This will be pointing to 10.1.2 Home
    4. opatch lsinventory -detail >> inv.out
    5. Review the inv.out file and check for the Oracle Application Server and other component versions.
    I hope this clarifies your queries, Please let me know the same.
    Regards,
    Thiagarajan.

  • 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.

Maybe you are looking for

  • How to get value from messageStyledText which is present in other RN

    Hi, I have xxcompscore messageStyledText in region 1 (separate controller) and xxobjscore messageStyledText in region2 (separate controller). The both values are double. My requirement is to get that value from another region (page layout) and add th

  • How to stop form processing in script at certain condition

    Hi, I need to stop sap script form processing at a certain conditon. E.g., if there are 3 or less items to be printed it should not print the form at all. Since im using standard print pgm i can make changes only in form. Is there any command in (lik

  • Consistency Problem In Audit Logs and Datafile

    Hi, We have audit logs of a transaction in audit files, however we do not see any changes in the table that the transaction affects. We use point-in-time recovery and flashback feature to figure out the changes in the table . DML Audit Granularity is

  • Copying contents using ant

    Hi , i have a java application in that i need to copy one properties file contents into another properties file.How can i do this using ANT Script please suggest me.......

  • Problem clicking on links to emails

    Not that computer literate I'm afraid but the only way I can explain the problem: When people put a link rather than their email address , when I click on it I just get a box with Firefox trying to download...As I use Firefox , I just don't get it. I