Executing a programm through a new menu entry

hello,
I am new to abap and wanted to know how to execute any abap program by linking it to a new menu entry.
Through the tx SE41 i was able to create new entry in an existing menu.Buth entry is disabled.
I have also an executable program.
I want this programm to get executed whenever i click to that menu option.
please tell the step wise process to establish this process.
Thanks

ThanksDzed,
I have created the transaction code for the program. can this transaction code be linked with the menu entry?
How?
What fields i need to fill in edit menu to activate the menu entry.

Similar Messages

  • Custom Toolbar icon/Menu Entry

    How do I add a new icon into the Applications Toolbar or add a new menu entry into an existing Menu item other than 'Tools', like 'Help' or so?

    Hi,
    Have a look at the following links/docs.
    Custom.pll
    Custom.pll
    Note: 744065.1 - Sample CUSTOM Library Code To Customize Applications
    Note: 561676.1 - How can I use SQL to disable a menu item?
    Oracle E-Business Suite Developer's Guide
    http://www.oracle.com/technetwork/documentation/applications-167706.html
    Regards,
    Hussein

  • How to add a new right-click menu entry in Nautilus file browser?

    I want to add a couple of new context menu entries to Nautilus File Browser.
    So when I e.g. right-click in View Pane on a file "foobar.conf" an menu entry "edit with gedit" should appear (among the other default entries).
    When clicked the file "foobar.conf" should be passed to gedit (and gedit editor opened).
    How can I achieve this?
    Under Ubuntu there are nautilus-actions but when I try to install them in Solaris with
    pkg install nautilus-actions
    then this package is not found.
    How else can I create my own context menues?
    I would appreciate to have one script with all my context menus, which when run add them all in one step.

    To manage selected files or directories, you can use specific Nautilus variables like NAUTILUS_SCRIPT_SELECTED_FILE_PATHS.
    For more details and which variables exist, please read the content of the following URL :
    Nautilus File Manager Scripts: Questions and Answers

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

  • New tabs dont pop up when I click to add a new tab, either by the tab bar or through the file menu.

    when I try to open up a new tab on my browser it doesn't do anything. I've tried the add a tab button on the tab bar, I've tried right clicking on the tab bar to add a tab, and I've gone through the file menu and nothing happens, like the command was never made....all other features work just fine..is there something wrong in my settings that I need to change??

    Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Updated ios8 on ipad: new calendar entries do not sync to other Apple devices through iCloud

    After  downloading the latest ios8 update, the calendar function on my iPad no longer syncs as it should with my other Apple devices.  Specifically, it will receive calendar entries made on those other devices but I can not make an entry on my iPad show up on the other devices.  How do I fix this? 
    Related to this, some of the support community entries suggest logging out of iCloud and then logging back in.  But then I read that what I have to do to do that is to delete my account.  I don't want to do that.  I want to keep everything I have on my iPad- mail, calendar, notes.  I just want the sync function for new calendar entries to work.

    Check Settings>Mail,Contacts,Calendars>Default Calendar (in the Calendars section) on your iPad and make sure it's set to an iCloud calendar.  If it isn't, make this change, then test calendars syncing again.
    If your default calendar is set to and iCloud calendar, go to Settings>iCloud, turn off Calendars, choose Delete from My iPad when prompted (they will still be in iCloud), then turn Calendars back on.  Test your calendar and see if it syncs properly now.

  • Want help to execute the programm of MethodEntryEvent

    Hi,
    I am trying to develop a programm for automatic logging in the programme. I took the hepl of java API and the Google site for searching some programms and successed also. but while running these sample programms i am getting classNotFound exception and some other exceptions also. i executed the programm Seq.java downloaded from the site http://search.cpan.org/src/PHILCROW/UML-Sequence-0.05/java/Seq.java. i am not able to understand how to execute it. what ever i tried its giving the same output whatever defined in the System.err() in the file. but it should display the corrosponding class details for which i need to see the output.
    can anyone help me in this regard and tell me the process to execute the programm.
    i took another e.g. trace example, which (in J2SE 1.4.x or 5.x) will be found in $JAVA_HOME/demo/jpda/examples.jar and unpacking it by
    jar -xvf $JAVA_HOME/demo/jpda/examples.jar i found the
    com/sun/tools/example/trace/Trace.java
    when i tried to execute it to see the output for some other programm i got the following exceptions,
    -- VM Started --
    ====== main ======
    main -- DateExample
    | Exception: instance of java.lang.ClassNotFoundException(id=97) catch: java.lang.ClassLoader:286
    | | | | | | | | | | | | | | | | | | | | Exception: instance of java.lang.ClassNotFoundException(id=98) catch: java.lang.ClassLoader:286
    | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.lang.ClassNotFoundException(id=98) catch: java.lang.ClassLoader:286
    | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=99) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=99) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=100) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=100) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=101) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=101) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.lang.ClassNotFoundException(id=102) catch: java.util.ResourceBundle:1074
    | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.lang.ClassNotFoundException(id=102) catch: java.util.ResourceBundle:1074
    | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=105) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=105) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=106) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=106) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=115) catch: null
    | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=118) catch: null
    ====== main end ======
    -- The application exited --
    i execute this programm i used the command as
    java Trace -output trace.log DateExample
    where trace.log is output file and DateExample is the java file.
    Can any one help me in this regard to execute the programms and can give me a detailed solution procedure.
    can anyone suggest me any other programm for auto exit and entry display for classes or methods with detailed execution steps.
    Thanks,

    Hi,
    i tried by setting the class path in the environment variables.
    still i am getting the same exceptions. i m sending the files on which i m working and requesting to give some solution. the files are
    // Trace.java
    import com.sun.jdi.VirtualMachine;
    import com.sun.jdi.Bootstrap;
    import com.sun.jdi.connect.*;
    import java.util.Map;
    import java.util.List;
    import java.util.Iterator;
    import java.io.PrintWriter;
    import java.io.FileWriter;
    import java.io.IOException;
    * This program traces the execution of another program.
    * See "java Trace -help".
    * It is a simple example of the use of the Java Debug Interface.
    * @version @(#) Trace.java 1.4 03/01/23 17:55:38
    * @author Robert Field
    public class Trace {
    // Running remote VM
    private final VirtualMachine vm;
    // Thread transferring remote error stream to our error stream
    private Thread errThread = null;
    // Thread transferring remote output stream to our output stream
    private Thread outThread = null;
    // Mode for tracing the Trace program (default= 0 off)
    private int debugTraceMode = 0;
    // Do we want to watch assignments to fields
    private boolean watchFields = false;
    // Class patterns for which we don't want events
    private String[] excludes = {"java.*", "javax.*", "sun.*",
    "com.sun.*"};
    * main
    public static void main(String[] args) {
    //new Trace(args);
    //DateExample d = new DateExample();
    //String[] arg = {(new DateExample().toString())};
    //String[] arg = {"E:/java_progs/classLoader/project logging/com/sun/tools/example/trace/DateExample.java"};
    //d.dateDisplay();
    new Trace(args);
    * Parse the command line arguments.
    * Launch target VM.
    * Generate the trace.
    Trace(String[] args) {
    System.out.println("entered into the method Trace(String[] args)");
    PrintWriter writer = new PrintWriter(System.out);
    System.out.println("Printer object created.....");
    int inx;
    for (inx = 0; inx < args.length; ++inx) {
    System.out.println("inside for loop args.length is "+args.length+" and the data is "+args[inx]);
    String arg = args[inx];
    if (arg.charAt(0) != '-') {
    break;
    if (arg.equals("-output")) {
    System.out.println("inside args== -output");
    try {
    writer = new PrintWriter(new FileWriter(args[++inx]));
    System.out.println("writer object createed....");
    } catch (IOException exc) {
    System.err.println("Cannot open output file: " + args[inx]
    + " - " + exc);
    System.exit(1);
    } else if (arg.equals("-all")) {
    System.out.println("inside args== -all");
    excludes = new String[0];
    } else if (arg.equals("-fields")) {
    System.out.println("inside args== -fields");
    watchFields = true;
    } else if (arg.equals("-dbgtrace")) {
    System.out.println("inside args== -bdgtrace");
    debugTraceMode = Integer.parseInt(args[++inx]);
    System.out.println("inside args== -bdgtrace the debugTraceMode is "+debugTraceMode);
    } else if (arg.equals("-help")) {
    System.out.println("inside args== -help called usage();");
    usage();
    System.exit(0);
    } else {
    System.err.println("No option: " + arg);
    usage();
    System.exit(1);
    System.out.println("the index is "+inx+" the args.length is "+args.length);
    if (inx >= args.length) {
    System.err.println("<class> missing");
    usage();
    System.exit(1);
    StringBuffer sb = new StringBuffer();
    sb.append(args[inx]);
    for (++inx; inx < args.length; ++inx) {
    sb.append(' ');
    sb.append(args[inx]);
    System.out.println("the string buffer contains \n "+sb);
    vm = launchTarget(sb.toString());
    generateTrace(writer);
    System.out.println("after generateTrace(writer)");
    * Generate the trace.
    * Enable events, start thread to display events,
    * start threads to forward remote error and output streams,
    * resume the remote VM, wait for the final event, and shutdown.
    void generateTrace(PrintWriter writer) {
    System.out.println("inside generateTrace(PrintWriter writer) the debugTraceMode is "+debugTraceMode);
    vm.setDebugTraceMode(debugTraceMode);
    EventThread eventThread = new EventThread(vm, excludes, writer);
    eventThread.setEventRequests(watchFields);
    System.out.println("inside generateTrace(PrintWriter writer) the eventThread.setEventRequests(watchFields) is ");
    eventThread.start();
    redirectOutput();
    vm.resume();
    // Shutdown begins when event thread terminates
    try {
    eventThread.join();
    errThread.join(); // Make sure output is forwarded
    outThread.join(); // before we exit
    } catch (InterruptedException exc) {
    // we don't interrupt
    writer.close();
    System.out.println("the writer is closed....");
    * Launch target VM.
    * Forward target's output and error.
    VirtualMachine launchTarget(String mainArgs) {
    System.out.println("inside VirtualMachine launchTarget(String mainArgs) "+mainArgs);
    LaunchingConnector connector = findLaunchingConnector();
    System.out.println("Lunching connector found "+connector);
    Map arguments = connectorArguments(connector, mainArgs);
    try {
    return connector.launch(arguments);
    } catch (IOException exc) {
    throw new Error("Unable to launch target VM: " + exc);
    } catch (IllegalConnectorArgumentsException exc) {
    throw new Error("Internal error: " + exc);
    } catch (VMStartException exc) {
    throw new Error("Target VM failed to initialize: " +
    exc.getMessage());
    void redirectOutput() {
    Process process = vm.process();
    System.out.println("inside redirectOutput() after getting the virtual m/c process");
    // Copy target's output and error to our output and error.
    errThread = new StreamRedirectThread("error reader",
    process.getErrorStream(),
    System.err);
    outThread = new StreamRedirectThread("output reader",
    process.getInputStream(),
    System.out);
    errThread.start();
    outThread.start();
    * Find a com.sun.jdi.CommandLineLaunch connector
    LaunchingConnector findLaunchingConnector() {
    List connectors = Bootstrap.virtualMachineManager().allConnectors();
    System.out.println("inside redirectOutput() after getting the connectors list");
    Iterator iter = connectors.iterator();
    while (iter.hasNext()) {
    Connector connector = (Connector)iter.next();
    System.out.println("inside while (iter.hasNext()) after getting the connector objects from itterator");
    if (connector.name().equals("com.sun.jdi.CommandLineLaunch")) {
    System.out.println("inside if (connector.name().equals('com.sun.jdi.CommandLineLaunch'))");
    return (LaunchingConnector)connector;
    throw new Error("No launching connector");
    * Return the launching connector's arguments.
    Map connectorArguments(LaunchingConnector connector, String mainArgs) {
    System.out.println("Map connectorArguments(LaunchingConnector connector, String mainArgs) the mainArgs is "+mainArgs);
    Map arguments = connector.defaultArguments();
    Connector.Argument mainArg =
    (Connector.Argument)arguments.get("main");
    if (mainArg == null) {
    System.out.println("inside the mainArg==null ");
    throw new Error("Bad launching connector");
    mainArg.setValue(mainArgs);
    System.out.println("the mainArg is "+mainArg);
    if (watchFields) {
    System.out.println("inside the if (watchFields)********");
    // We need a VM that supports watchpoints
    Connector.Argument optionArg =
    (Connector.Argument)arguments.get("options");
    if (optionArg == null) {
    throw new Error("Bad launching connector");
    System.out.println("inside the if (watchFields)the optionArg is "+optionArg);
    optionArg.setValue("-classic");
    System.out.println("optionArg.getValue() is ");
    return arguments;
    * Print command line usage help
    void usage() {
    System.out.println("inside usage()");
    System.err.println("Usage: java Trace <options> <class> <args>");
    System.err.println("<options> are:");
    System.err.println(
    " -output <filename> Output trace to <filename>");
    System.err.println(
    " -all Include system classes in output");
    System.err.println(
    " -help Print this help message");
    System.err.println("<class> is the program to trace");
    System.err.println("<args> are the arguments to <class>");
    // DateExample.java
    import java.util.Date;
    import java.text.DateFormat;
    import java.util.Calendar;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    public class DateExample {
    public static void main(String[] args) {
    Date a = new Date();
    System.out.println("Today is : "+a);
    Calendar ca= Calendar.getInstance();
    ca.set(a.getYear(),a.getMonth(),a.getDate());
    ca.add(Calendar.DATE,1);
    DateFormat df1 = DateFormat.getDateInstance(DateFormat.SHORT);
    String s1 = df1.format(ca.getTime());
    System.out.println("(SHORT) Today is + 1 :" + s1);
    //java.sql.Date s = new java.sql.Date(2005,6,1);
    //System.out.println("Date from sql is : "+s);
    Date a1 = new Date(2005,06,01);
    System.out.println("Today is a1 : "+a1);
    java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat("MM-dd-yyyy HH:mm:ss");
    System.out.println("After format :"+formatter.format(a1));
    System.out.println("After format :"+formatter.format(new Date(s1)));
    java.text.SimpleDateFormat formatter1 = new java.text.SimpleDateFormat("MM/dd/yyyy HH:mm:ss");
    System.out.println("After format :"+formatter1.format(a1));
    // EventThread.java
    import com.sun.jdi.*;
    import com.sun.jdi.request.*;
    import com.sun.jdi.event.*;
    import java.util.*;
    import java.io.PrintWriter;
    * This class processes incoming JDI events and displays them
    * @version @(#) EventThread.java 1.4 03/01/23 17:55:38
    * @author Robert Field
    public class EventThread extends Thread {
    private final VirtualMachine vm; // Running VM
    private final String[] excludes; // Packages to exclude
    private final PrintWriter writer; // Where output goes
    static String nextBaseIndent = ""; // Starting indent for next thread
    private boolean connected = true; // Connected to VM
    private boolean vmDied = true; // VMDeath occurred
    // Maps ThreadReference to ThreadTrace instances
    private Map traceMap = new HashMap();
    EventThread(VirtualMachine vm, String[] excludes, PrintWriter writer) {
    super("event-handler");
    this.vm = vm;
    this.excludes = excludes;
    this.writer = writer;
    System.out.println("inside EventThread(VirtualMachine vm, String[] excludes, PrintWriter writer) ");
    * Run the event handling thread.
    * As long as we are connected, get event sets off
    * the queue and dispatch the events within them.
    public void run() {
    System.out.println("inside run() ");
    EventQueue queue = vm.eventQueue();
    while (connected) {
    System.out.println("inside while (connected) ");
    try {
    EventSet eventSet = queue.remove();
    EventIterator it = eventSet.eventIterator();
    System.out.println("got EventSet and EventIterator *** ");
    while (it.hasNext()) {
    System.out.println("inside while (it.hasNext())");
    handleEvent(it.nextEvent());
    eventSet.resume();
    System.out.println("event is resumed ***** ");
    } catch (InterruptedException exc) {
    // Ignore
    } catch (VMDisconnectedException discExc) {
    handleDisconnectedException();
    break;
    * Create the desired event requests, and enable
    * them so that we will get events.
    * @param excludes Class patterns for which we don't want events
    * @param watchFields Do we want to watch assignments to fields
    void setEventRequests(boolean watchFields) {
    System.out.println("inside setEventRequests(boolean watchFields) ");
    EventRequestManager mgr = vm.eventRequestManager();
    // want all exceptions
    ExceptionRequest excReq = mgr.createExceptionRequest(null,
    true, true);
    // suspend so we can step
    excReq.setSuspendPolicy(EventRequest.SUSPEND_ALL);
    excReq.enable();
    MethodEntryRequest menr = mgr.createMethodEntryRequest();
    for (int i=0; i<excludes.length; ++i) {
    System.out.println("inside for (int i=0; i><excludes.length; ++i) for createMethodEntryRequest() ");
    menr.addClassExclusionFilter(excludes);
    menr.setSuspendPolicy(EventRequest.SUSPEND_NONE);
    menr.enable();
    MethodExitRequest mexr = mgr.createMethodExitRequest();
    for (int i=0; i><excludes.length; ++i) {
    System.out.println("inside for (int i=0; i><excludes.length; ++i) for createMethodExitRequest() ");
    mexr.addClassExclusionFilter(excludes);
    mexr.setSuspendPolicy(EventRequest.SUSPEND_NONE);
    mexr.enable();
    ThreadDeathRequest tdr = mgr.createThreadDeathRequest();
    // Make sure we sync on thread death
    tdr.setSuspendPolicy(EventRequest.SUSPEND_ALL);
    tdr.enable();
    if (watchFields) {
    System.out.println("inside if (watchFields) ************** ");
    ClassPrepareRequest cpr = mgr.createClassPrepareRequest();
    for (int i=0; i><excludes.length; ++i) {
    System.out.println("inside for (int i=0; i><excludes.length; ++i) the excludes.length is ************** "+excludes.length);
    cpr.addClassExclusionFilter(excludes);
    cpr.setSuspendPolicy(EventRequest.SUSPEND_ALL);
    cpr.enable();
    * This class keeps context on events in one thread.
    * In this implementation, context is the indentation prefix.
    class ThreadTrace {
    final ThreadReference thread;
    final String baseIndent;
    static final String threadDelta = " ";
    StringBuffer indent;
    ThreadTrace(ThreadReference thread) {
    System.out.println("inside ThreadTrace(ThreadReference thread)");
    this.thread = thread;
    this.baseIndent = nextBaseIndent;
    indent = new StringBuffer(baseIndent);
    nextBaseIndent += threadDelta;
    println("====== " + thread.name() + " ======");
    private void println(String str) {
    System.out.println("inside void println(String str)");
    writer.print(indent);
    writer.println(str);
    void methodEntryEvent(MethodEntryEvent event) {
    System.out.println("inside methodEntryEvent(MethodEntryEvent event)");
    println(event.method().name() + " -- "
    + event.method().declaringType().name());
    indent.append("| ");
    void methodExitEvent(MethodExitEvent event) {
    System.out.println("inside methodExitEvent(MethodExitEvent event)");
    indent.setLength(indent.length()-2);
    void fieldWatchEvent(ModificationWatchpointEvent event) {
    System.out.println("inside fieldWatchEvent(ModificationWatchpointEvent event)");
    Field field = event.field();
    Value value = event.valueToBe();
    println(" " + field.name() + " = " + value);
    void exceptionEvent(ExceptionEvent event) {
    System.out.println("inside exceptionEvent(ExceptionEvent event) ");
    println("Exception: " + event.exception() +
    " catch: " + event.catchLocation());
    // Step to the catch
    EventRequestManager mgr = vm.eventRequestManager();
    StepRequest req = mgr.createStepRequest(thread,
    StepRequest.STEP_MIN,
    StepRequest.STEP_INTO);
    System.out.println("stepRequest is created "+req);
    req.addCountFilter(1); // next step only
    req.setSuspendPolicy(EventRequest.SUSPEND_ALL);
    req.enable();
    // Step to exception catch
    void stepEvent(StepEvent event) {
    System.out.println("inside stepEvent(StepEvent event) ");
    // Adjust call depth
    int cnt = 0;
    indent = new StringBuffer(baseIndent);
    try {
    cnt = thread.frameCount();
    System.out.println("inside try cnt is "+cnt);
    } catch (IncompatibleThreadStateException exc) {
    while (cnt-- > 0) {
    System.out.println("inside while indent is "+indent);
    indent.append("| ");
    EventRequestManager mgr = vm.eventRequestManager();
    mgr.deleteEventRequest(event.request());
    void threadDeathEvent(ThreadDeathEvent event) {
    System.out.println("inside threadDeathEvent(ThreadDeathEvent event) ");
    indent = new StringBuffer(baseIndent);
    println("====== " + thread.name() + " end ======");
    * Returns the ThreadTrace instance for the specified thread,
    * creating one if needed.
    ThreadTrace threadTrace(ThreadReference thread) {
    ThreadTrace trace = (ThreadTrace)traceMap.get(thread);
    System.out.println("inside ThreadTrace threadTrace(ThreadReference thread) trace is "+trace);
    if (trace == null) {
    trace = new ThreadTrace(thread);
    traceMap.put(thread, trace);
    return trace;
    * Dispatch incoming events
    private void handleEvent(Event event) {
    System.out.println("inside handleEvent(Event event) ");
    if (event instanceof ExceptionEvent) {
    System.out.println("inside handleEvent(Event event) in ExceptionEvent ");
    exceptionEvent((ExceptionEvent)event);
    } else if (event instanceof ModificationWatchpointEvent) {
    System.out.println("inside handleEvent(Event event) in ModificationWatchpointEvent ");
    fieldWatchEvent((ModificationWatchpointEvent)event);
    } else if (event instanceof MethodEntryEvent) {
    System.out.println("inside handleEvent(Event event) in MethodEntryEvent ");
    methodEntryEvent((MethodEntryEvent)event);
    } else if (event instanceof MethodExitEvent) {
    System.out.println("inside handleEvent(Event event) in MethodExitEvent ");
    methodExitEvent((MethodExitEvent)event);
    } else if (event instanceof StepEvent) {
    System.out.println("inside handleEvent(Event event) in StepEvent ");
    stepEvent((StepEvent)event);
    } else if (event instanceof ThreadDeathEvent) {
    System.out.println("inside handleEvent(Event event) in ThreadDeathEvent ");
    threadDeathEvent((ThreadDeathEvent)event);
    } else if (event instanceof ClassPrepareEvent) {
    System.out.println("inside handleEvent(Event event) in ClassPrepareEvent ");
    classPrepareEvent((ClassPrepareEvent)event);
    } else if (event instanceof VMStartEvent) {
    System.out.println("inside handleEvent(Event event) in VMStartEvent ");
    vmStartEvent((VMStartEvent)event);
    } else if (event instanceof VMDeathEvent) {
    System.out.println("inside handleEvent(Event event) in VMDeathEvent ");
    vmDeathEvent((VMDeathEvent)event);
    } else if (event instanceof VMDisconnectEvent) {
    System.out.println("inside handleEvent(Event event) in VMDisconnectEvent ");
    vmDisconnectEvent((VMDisconnectEvent)event);
    } else {
    System.out.println("inside handleEvent(Event event) in else unexcepted type ");
    throw new Error("Unexpected event type");
    * A VMDisconnectedException has happened while dealing with
    * another event. We need to flush the event queue, dealing only
    * with exit events (VMDeath, VMDisconnect) so that we terminate
    * correctly.
    synchronized void handleDisconnectedException() {
    System.out.println("inside handleDisconnectedException() ");
    EventQueue queue = vm.eventQueue();
    while (connected) {
    System.out.println("inside handleDisconnectedException() in while (connected) ");
    try {
    EventSet eventSet = queue.remove();
    EventIterator iter = eventSet.eventIterator();
    System.out.println("inside handleDisconnectedException() got EventSet & EventIterator ");
    while (iter.hasNext()) {
    System.out.println("inside handleDisconnectedException() in while (iter.hasNext()) ");
    Event event = iter.nextEvent();
    if (event instanceof VMDeathEvent) {
    System.out.println("inside handleDisconnectedException() in if ");
    vmDeathEvent((VMDeathEvent)event);
    } else if (event instanceof VMDisconnectEvent) {
    System.out.println("inside handleDisconnectedException() in else ");
    vmDisconnectEvent((VMDisconnectEvent)event);
    eventSet.resume(); // Resume the VM
    } catch (InterruptedException exc) {
    // ignore
    private void vmStartEvent(VMStartEvent event) {
    System.out.println("inside vmStartEvent(VMStartEvent event)**** ");
    writer.println("-- VM Started --");
    // Forward event for thread specific processing
    private void methodEntryEvent(MethodEntryEvent event) {
    System.out.println("inside methodEntryEvent(MethodEntryEvent event)****** ");
    threadTrace(event.thread()).methodEntryEvent(event);
    // Forward event for thread specific processing
    private void methodExitEvent(MethodExitEvent event) {
    System.out.println("inside methodExitEvent(MethodExitEvent event)****** ");
    threadTrace(event.thread()).methodExitEvent(event);
    // Forward event for thread specific processing
    private void stepEvent(StepEvent event) {
    System.out.println("inside stepEvent(StepEvent event)****** ");
    threadTrace(event.thread()).stepEvent(event);
    // Forward event for thread specific processing
    private void fieldWatchEvent(ModificationWatchpointEvent event) {
    System.out.println("inside fieldWatchEvent(ModificationWatchpointEvent event)***** ");
    threadTrace(event.thread()).fieldWatchEvent(event);
    void threadDeathEvent(ThreadDeathEvent event) {
    System.out.println("inside threadDeathEvent(ThreadDeathEvent event)****** ");
    ThreadTrace trace = (ThreadTrace)traceMap.get(event.thread());
    if (trace != null) { // only want threads we care about
    trace.threadDeathEvent(event); // Forward event
    * A new class has been loaded.
    * Set watchpoints on each of its fields
    private void classPrepareEvent(ClassPrepareEvent event) {
    System.out.println("inside classPrepareEvent(ClassPrepareEvent event)****** ");
    EventRequestManager mgr = vm.eventRequestManager();
    List fields = event.referenceType().visibleFields();
    for (Iterator it = fields.iterator(); it.hasNext(); ) {
    System.out.println("inside classPrepareEvent(ClassPrepareEvent event) inside for loop Iterator ****** ");
    Field field = (Field)it.next();
    ModificationWatchpointRequest req =
    mgr.createModificationWatchpointRequest(field);
    for (int i=0; i<excludes.length; ++i) {
    System.out.println("inside classPrepareEvent(ClassPrepareEvent event) inside for loop int ****** ");
    req.addClassExclusionFilter(excludes);
    req.setSuspendPolicy(EventRequest.SUSPEND_NONE);
    req.enable();
    private void exceptionEvent(ExceptionEvent event) {
    System.out.println("inside exceptionEvent(ExceptionEvent event)****** ");
    ThreadTrace trace = (ThreadTrace)traceMap.get(event.thread());
    if (trace != null) { // only want threads we care about
    trace.exceptionEvent(event); // Forward event
    public void vmDeathEvent(VMDeathEvent event) {
    System.out.println("inside vmDeathEvent(VMDeathEvent event)****** ");
    vmDied = true;
    writer.println("-- The application exited --");
    public void vmDisconnectEvent(VMDisconnectEvent event) {
    System.out.println("inside vmDisconnectEvent(VMDisconnectEvent event)****** ");
    connected = false;
    if (!vmDied) {
    System.out.println("inside vmDisconnectEvent(VMDisconnectEvent event)in if loop ****** ");
    writer.println("-- The application has been disconnected --");
    // StreamRedirectThread.java
    import java.io.*;
    * StreamRedirectThread is a thread which copies it's input to
    * it's output and terminates when it completes.
    * @version @(#) StreamRedirectThread.java 1.4 03/01/23 17:55:38
    * @author Robert Field
    class StreamRedirectThread extends Thread {
    private final Reader in;
    private final Writer out;
    private static final int BUFFER_SIZE = 2048;
    * Set up for copy.
    * @param name Name of the thread
    * @param in Stream to copy from
    * @param out Stream to copy to
    StreamRedirectThread(String name, InputStream in, OutputStream out) {
    super(name);
    this.in = new InputStreamReader(in);
    this.out = new OutputStreamWriter(out);
    setPriority(Thread.MAX_PRIORITY-1);
    System.out.println("inside StreamRedirectThread(String name, InputStream in, OutputStream out) ****** ");
    * Copy.
    public void run() {
    System.out.println("inside StreamRedirectThread class in run() ****** ");
    try {
    char[] cbuf = new char[BUFFER_SIZE];
    int count;
    while ((count = in.read(cbuf, 0, BUFFER_SIZE)) >= 0) {
    System.out.println("inside run() in while loop the count is ****** "+count);
    out.write(cbuf, 0, count);
    out.flush();
    } catch(IOException exc) {
    System.err.println("Child I/O Transfer - " + exc);
    by using these files i m trying to trace the execution of DateExample.java through the Trace.java by using the command
    java Trace -output trace.log DateExample
    by executiing i m getting the exceptions in the output file trace.log
    -- VM Started --
    ====== main ======
    main -- DateExample
    | Exception: instance of java.lang.ClassNotFoundException(id=97) catch: java.lang.ClassLoader:286
    | | | | | | | | | | | | | | | | | | | | Exception: instance of java.lang.ClassNotFoundException(id=99) catch: java.lang.ClassLoader:286
    | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.lang.ClassNotFoundException(id=99) catch: java.lang.ClassLoader:286
    | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=100) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=100) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=101) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=101) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=102) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=102) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.util.zip.ZipException(id=104) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.util.zip.ZipException(id=104) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.lang.ClassNotFoundException(id=105) catch: java.util.ResourceBundle:1074
    | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.lang.ClassNotFoundException(id=105) catch: java.util.ResourceBundle:1074
    | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=108) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=108) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=109) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=109) catch: sun.misc.URLClassPath:293
    | | | | | | | | | | | | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=118) catch: null
    | | | | | | | | | | | | | | Exception: instance of java.io.FileNotFoundException(id=121) catch: null
    ====== main end ======
    -- The application exited --
    Could any one help me in this regard to execute the programm.
    Could any one help to show the execution of the Seq.java downloaded from the site http://search.cpan.org/src/PHILCROW/UML-Sequence-0.05/java/Seq.java, what i mentioned in my previous mail.
    thanks,

  • ISE 1.1.3 - Notification when ISE creates New Endpoint Entries

    Good Morning,
    I am interested in learning how to have notifications sent out to a preset list of recipients when ISE 1.1.3 creates a new endpoint entry.  The ability to know when a foreign device has been connected is imperative for our mission.
    I have looked throughout the entirety of the ISE Settings, but I have yet to find where to enable the functionality to allow for this.
    Can someone please point me to the correct menu/setting for this?
    Thank You,
    David

    Thank you for the response.
    I read through the documentation that you linked me to, and it appears that i *should* be able to create the rules I require. I have tried many different sets of criteria, and I always receive the same Error Message:
    type Status report
    message Request not processed - Possible XSS input
    description The request sent by the client was syntactically incorrect (Request not processed - Possible XSS input).
    From the error, it looks like my criteria set is incorrect, but I have tried numerous different sets, all receive the same error.  According to the "Rules" section, under "Unknown NAD" the only Required Fields are "Category" and "Nad Count".   I have satisfied both of these fields numerous ways, all with the same output of the above error message.
    Any Idea what could be causing this?

  • Can't add new GRUB entries thru /etc/grub.d/40_custom on MacBook Pro

    I am using Arch Linux on my MacBook Pro. The main bootloader is rEFInd, which then loads GRUB (in EFI mode) which in turns loads Linux. Of course rEFInd can also load OS X directly, but I am experimenting because I need OS X to be loaded by GRUB: some buggy hardware requires "outb" commands before booting the OS, and loading OS X through GRUB seems like the most natural way of doing it.
    I am using the automatic script in /boot/grub.d/ to generate the bootloader configuration, so I use the following commands:
    grub-mkconfig > /boot/grub/grub.cfg
    grub-mkstandalone -o boot.efi -d /usr/lib/grub/x86_64-efi -O x86_64-efi --compress=xz /boot/grub/grub.cfg
    They generate a new configuration and to create a new EFI image, which is then copied on a blessed boot partition. I am sure that the changes I make to the configuration file are put into effect, because I can (for instance) modify the kernel parameters for the default image and see the modified entry on the GRUB menu.
    Now I am trying to add a new configuration entry, the usual way would be by modifying /etc/grub.d/40_custom. I add the following lines:
    menuentry 'OS X (on /dev/sda2)' {
    insmod hfsplus
    insmod part_gpt
    set root='hd0,gpt2'
    chainloader /System/Library/CoreServices/boot.efi
    which are added correctly to /boot/grub/grub.cfg after I run grub-mkconfig as shown above. I also generate boot.efi as shown above, too, and I copy it on the boot partition.
    However when I reboot I cannot see the new entry in the GRUB menu. Is there something I am overlooking? Is there some way of troubleshooting GRUB when it's reading the configuration file? I think it may not like the syntax of the new entry I added.
    Last edited by zakk (2014-12-04 20:35:17)

    You should point grub-mkconfig to "your_efi_system_partition"/grub/grub.cfg instead of boot/grub/grub.cfg

  • Executing oraxsl utility through forms 10g

    Hi,
    I tried to execute oraxsl utility in forms 10g using a button but failed. This utility is working fine when i run it through command line interface, but its not working on forms.
    Code on when-button-pressed trriger is :
    Declare
    cmd varchar2(1000);
    Begin
    cmd := 'oraxsl d:\cdcataloginfo.xml d:\cdcataloginfo.xsl d:\cdcataloginfo.htm';
    message(cmd);
    host(cmd, NO_SCREEN );
    IF NOT Form_Success THEN
    Message('Error - Not Succeeded');
    ELSE
    Message('Succeeded.');
    END IF;
    End;
    It shows the 'succeeded' message when i run this form, but it doesn't create the HTML file.
    Any help will be appreciated.
    Thanks.

    Using IE 8 and tried on IE 7 as well.
    Oracle JInitiator: Version 1.3.1.22Oracle Jinitiator is not compatible with IE 7/8, you have to use the Sun JRE 1.6.0._16 or higher instead. Take a look at section *2.2 Oracle Forms Applications on Client Platforms* in the Oracle Application Server 10g (10.1.2) Certification Matrix.
    After installing the Sun JRE 1.6.0, you will need to modify the %DEVSUITE_HOME%\forms\server\formsweb.cfg to set the correct JRE version information. Make the following changes:
    # System parameter: base HTML file for use with JInitiator client
    #-- Original
    #baseHTMLjinitiator=basejini.htm 
    #-- New
    baseHTMLjinitiator=basejpi.htm  
    #-- Original
    #jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html 
    #-- New
    jpi_download_page=http://www.oracle.com/technetwork/java/javase/downloads/index.html 
    # Parameter related to the version of the Java Plugin
    # -- Original
    #jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # -- New (this entry specifies update 16)
    jpi_classid=clsid:CAFEEFAC-0016-0000-0016-ABCDEFFEDCBA
    # OR, you can instruct OAS to use any version of Sun JRE 1.6.0
    jpi_classid=clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    # -- Original
    #jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # -- New
    jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,22
    # Parameter related to the version of the Java Plugin
    # -- Original
    #jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # -- New (Specifies update 16)
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_16
    # -- OR use any version of 1.6.0
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How do I create a new event entry for a specific calendar?

    In my iMac Calendar app, I have created a few calendars for different functions.    But every time I try to create a new event entry for a specific calendar, the app seems to prefer a different calendar instead by default.   I cannot enter events in other calendars.   Is there a way to do this?   In previous versions, I would highlight the particular calendar I wanted to work with and the entry would go into that calendar.   Thanks!

    You don't.  Moments in Photos are the new Events, i.e. groupings of photos sorted by date taken.
    When the iPhoto Library was first migrated to Photos there was a folder created in the sidebar titled iPhoto Events and all migrated iPhoto Events (which are now Moments) are represented by an album in that folder. To open the sidebar if it's not already open use the Option+Command+S key combination.
    There's a way to simulate events in Photos.
    When new photos are imported into the Photos library go to the Last Import smart album, select all the photos and use the File ➙ New Album menu option or use the key combination Command+N.  Name it as desired.  It will appear just above the iPhoto Events folder where you can drag it into the iPhoto Events folder
    When you click on the iPhoto Events folder you'll get a simulated iPhoto Events window.
    The downside to the simulation is that the Albums/Events can only be sorted automatically by Title. But they can also be sorted manually, either in the sidebar or in the folder's window at the right.
    Ask Apple for more sorting options in Photos via https://www.apple.com/feedback/photos.html.

  • Calling a dll from a new menu item in Bridge.  Idiot help needed

    Hi,
    I'm trying to what I believe is a fairly simple script.  I'm coming from a hobbiest Delphi background, and to be honest I'm finding JavaScript a little bit hard to understand.  My requirements are simple - add a new menu item to Bridge which executes a call to a custom dll.  Note I'm not expecting the dll to return anything here.. 
    Looking at the samples provided even I can add the menu item - but getting it to successfully call the dll is a bit of a mystery. 
    The script compiles and adds the menu item, however the menu action doesn't call the dll.  I believe it should be a fairly simple task and was hoping somebody here could steer me right.  Here's my code (as you'll see a clear cut and paste job from the examples ;o)
    Header 1
    function SnpAddMenuItem()
      this.requiredContext = "\tAdobe Bridge must be running.\n\tExecute against Bridge CS6 as the target.\n";
      this.menuID = "snpmyMenu";
      this.menuCommandID1 = "snpAddMenuItemSub1";
      $.level = 1; // Debugging level
    SnpAddMenuItem.prototype.run = function()
      var retval = true;
      if(!this.canRun()) {
      retval = false;
      return retval;
      // Create the menu element
      var newMenu = new MenuElement( "menu", "myMenu", "before Help", this.menuID );
      // Create the menu item
      var alertCommand1 = new MenuElement( "command", "Load Stuff", "at the end of " + this.menuID, this.menuCommandID1);
      alertCommand1.onSelect = function (m1)
            ExternalObject.myDll = new ExternalObject('lib:/C/temp/apmDLL.dll');
            myDll.sendtoACRPM(1);
    //      return retval;
    SnpAddMenuItem.prototype.canRun = function()
      // Must run in Bridge
      if(BridgeTalk.appName == "bridge") {
      // Stop the menu element from being added again if the snippet has already run
      if((MenuElement.find(this.menuID)) && (MenuElement.find(this.menuCommandID)))
    // $.writeln("Error:Menu element already exists!\nRestart Bridge to run this snippet again.");
    // return false;
                MenuElement.remove(this.menuID);
      return true;
      $.writeln("ERROR:: Cannot run SnpAddMenuItem");
      $.writeln(this.requiredContext);
      return false;
    if(typeof(SnpAddMenuItem_unitTest ) == "undefined") {
      new SnpAddMenuItem().run();

    The dll needs to be compatable with the criteria set in the JavaScript Tools Guide. There is an example in the Bridge SDK that can be downloaded from http://www.adobe.com/devnet/bridge.html
    But it need someone who is knowledgeable with c++
    It would be great if someone could write a wrapper to access other external objects.

  • Why does debugger menu entry not exist in Acrobat 7.1.0

    Today I decided to start using the JavaScript functionality of my Acrobat 7.1.0 (updated a few days ago from 7.0.x). First I searched for some documentation and found the original "Acrobat JavaScript Scripting Guide" for Acrobat 7.0, document release date July 19, 2005. What made me doubt about the quality of my environment is that there are always some features mentioned that do not at all exist in my Acrobat, such as menu entries like "Debugger" under "Advanced - Javascript". The only thing I find there is "define document actions" (menu entry translated from German). Reading other posts in this forum concerning Javascript I searched other places like acrobatusers.com and, checking the tutorials, I saw screenshots of preference screens containing more items than my ones, especially more items in the "debugger" panel of the "Javascript" entry. When searching places on my drive where Acrobat should expect JavaScript files like "Program Files\Adobe\Acrobat 7.0\Acrobat\Javascripts" I remember having read that there should be more files than just "Websearch.js" and "JSByteCodeWin.bin" (as it is in my case; but I'm not sure what actually should be there further).
    So far the only thing I can do to open the console is defining some action related with files (but only unhandy ones like "when closed" or "when saved"). The only way I know to open the JS debugger is defining invalid JS code for some file action and perform this action, then the debugger shows up along with the console, complaining.
    Strolling arround in my Acrobat program subdirectories I found documentation and a runnable named "ExtendedScript Toolkit" that seemed to work well (though I could not try it out seriously as it obviously is quite complicated because it relies on the InDesign object model). Did ExtendedScripting coming along with InDesign spoil my normal JavaScript environment in Acrobat? Or was it the update from Acrobat 7.0.0 to 7.1.0? How can it be that menu entries everybody else is talking about are not at all visible in my installation though I desparately enabled almost everything in my Acrobat preference settings? Are there some paranoid web security defaults making entries disappear in my installation?
    Any suggestions will be greatly appreciated!
    Richard

    Bernd,
    the matrix is for Acrobat 9 only and thus not totally liable. However, as for V9 the topic of scripting or debugging is not even touched in the whole matrix, one might suggest that V7 would also make no differences in that area.
    I am only guessing, but the fact that I do not find any hint about a problem similar to my one might have to do something with the "ExtendedScript Toolkit" I mentioned above. If the behavior of my Acrobat installation had been changed due to installing ExtendedScript, this would be a kind of (intended) bug most users would not complain about, because: ExtendedScript comes along with software like InDesign, and the typical ID user is not the one developing JavaScript under Acrobat.
    Searching Google for ExtendedScript I found the Adobe download area and clicking on the item it says:
    The ExtendScript Toolkit (ESTK) 1.0.3 is a scripting utility included with Adobe® Creative Suite 2 and other Adobe applications. The ESTK is used for creating, editing, and debugging JavaScript to be used for scripting Adobe applications.
    Looking up documentation on ExtendedScript (which was not very easy to find) I noticed some examples about adding a document to the target application by executing the line:
    app.document.add();
    As I am starting the ES toolkit as an own main program, I am getting the error message that this call is not executable for the target application "main", which I can accept. Maybe there is a way connecting Acrobat to ExtendedScript, maybe there is even a way to reanimate "normal" scripting, maybe normal scripting is not even unconscious but only sleeping and can be woken up easily ...
    Maybe the best way to find out is searching for a forum about scripting (albeit extended or normal). Funny, though, that my Acrobat does not at all match the original scripting documentation of Adobe concerning such elementary things like menu entries being present (especially see second attachment: "Erweitert" translates to "Advanced", "Dokument-Aktionen festlegen" to "Define document actions". Where is the "Debugger" entry???).
    If I believe others here in this forum saying that the "Debugger" entry normally is appearing in the Javascript menu. Obviously the Acrobat software contains program code to hide or remove this entry permanently. Furthermore, somebody else, also a member of the Adobe stuff, has written the documentation that does not at all contain any applying description of conditions about hiding the menu entry. What I would appreciate is if Adobe would make those two persons talk to each other about what they are doing. By that, other people like me could save a lot of time.

  • Error to execute the script through command prompt

    I tried to execute the script through command prompt. I got some following error. Could you please advice me how to rectify this.
    cscript D:\JS\Test.js
    Microsoft (R) Windows Script Host Version 5.6
    Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
    D:\JS\Test.js(1, 1) Microsoft JScript runtime error: 'app' is undefined.
    Thanks,
    Prabudass

    I haven't use CS for quite some time and file associations may not work with the command prompt.
    You can try using Windows Explorer to browse to a .js file then right click on that file. From the popup menu choose Open With. Even if you see Photoshop in the file list choose Browse at the bottom. Browse to Photoshop and make sure to check 'Always use selected program...'
    If that doesn't work you will need to create an action that runs your script and make a droplet from that action. You can then use the droplet in the command prompt. You may also need to create a 'dummy' image file to launch the droplet with if you script doesn't require an open document at startup. See http://www.ps-scripts.com/bb/viewtopic.php?t=967

  • My new Menu Button that came with the latest update is now missing.

    I removed the button because it was bothering me thinking there would be no repercussions but now I can't find it because it contained the customization menus. I have searched through the other menu options but the only route to the customization is now hidden in the now missing button.

    Are you using the Classic Theme Restorer extension?
    *You can check out the settings of the CTR extension via its Options/Preferences button on the "Firefox/Tools > Add-ons > Extensions" page.
    *You can find extra toolbar buttons and more toolbar settings in Customize (3-bar Firefox menu button > Customize)
    See also:
    *https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox
    *https://support.mozilla.org/kb/common-questions-after-updating-to-new-firefox
    *https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox
    In current Firefox releases (29 and later), that have have the Australis user interface, the orange Firefox menu button has been replaced by the three-bar Firefox Menu button at the far right end of the Navigation Toolbar and this button is always visible, whether you have the menu bar visible or hidden<br>A consequence of this location is that you no longer can hide the Navigation Toolbar
    *There is a star like button next to the search bar on the Navigation Toolbar to bookmark the current web page and a "Show your bookmarks" button next to it to open the Bookmarks in a drop down menu.<br>You can find "Show All Bookmarks" to open the Bookmarks Manager (Library) at the bottom of this drop-down list
    *If you bookmark a page then "Bookmark This Page" in the Bookmarks menu changes to "Edit This Bookmark"
    *You can make the the title bar visible via the "Title Bar" button at the bottom left in the Customize palette window
    It is still possible to have the menu bar visible via the right-click context menu of a toolbar to have menus like the File menu with Print (Ctrl+P) and Print Preview and the Bookmarks menu available.

Maybe you are looking for

  • Open vi reference conversion from Labview 6 to Labview 2014

    Is there a way that someone can help me convert this VI written in Labview 6.1  so that I can work en EXE in Labview 2014. I succed to open this vi from 6.1 to 2014 but it does not run. The open vi reference those not work in exe program. Someone kno

  • Exception handling in ORA REPORT

    hi, can any one tell about exception handling in oracle reports 10g if I wanna raise a message where data is no not present for example I select one value from LOV when I press mouse button and if data is not present then report show numeric or value

  • Active Directory Group Discovery not picking up Workstation OSs

    We don't use the default 'workstation' container in AD. We have a OU called:i.e. 'contoso workstations'. Within 'contoso workstations are other OUs by location: i.e.: 'Bangalore'; 'Harare'; 'Bangkok': and 'Djibouti'. AD Group discovery dumps everythi

  • Where is the library folder in Lion?

    where is the library folder in Lion?

  • Can't save an IMovie...RE: "not enough disk space"

    We made a movie in iMovie (lots of photos no video) and are trying to save in iDVD but get an error message that states "Burning the disk can not proceed becuase the Startup Disk does not have enough empty space. To burn the disk, the Finder needs sp