How do I launch a program on a specific desktop?

Hello,
I am running a MacBook Pro and would like to be specific which desktop certain programs are opened within?  How do I do that?  When I have the desktop open that I want and launch the program, it switches me to another one.  Why you ask is this important?  I also run Bootcamp because my ridiculous accounting software is not Mac supported and I need Excel to open next to that software.
I have accomplished this once before, but haven't been able to do it since.
Thanks for your help.
S

Just found out that is I use Control button, I can tell it to assign "None" on the desktop.  Yeah me! for finding it.

Similar Messages

  • How to launch other programs?

    Hi guys!
    How can I launch other programs with pjava?
    Can I use the command "Runtime.getRuntime().exec()"?Please Help Me!
    Thanks!
    Fabio

    'Runtime.getRuntime().exec()' is not implemented in the current version of the java runtime for Personal Java on the WinCE platform. You have to write jni code to kick off the process. Here's an example in C++ using the Visual embedded tools.
    // PocketViewer.cpp : Defines the entry point for the DLL application.
    #include "stdafx.h"
    #include "PocketViewer.h"
    #include "jni.h"
    #include "com_uo_wireless_Loader.h"
    #include "winbase.h"
    #include "Tchar.h"
    BOOL APIENTRY DllMain( HANDLE hModule,
    DWORD ul_reason_for_call,
    LPVOID lpReserved
    switch (ul_reason_for_call)
              case DLL_PROCESS_ATTACH:
              case DLL_THREAD_ATTACH:
              case DLL_THREAD_DETACH:
              case DLL_PROCESS_DETACH:
                   break;
    return TRUE;
    JNIEXPORT void JNICALL Java_com_uo_wireless_Loader_getVideoDevice
    (JNIEnv *env, jobject obj, jstring url)
         PROCESS_INFORMATION pInfo;
         STARTUPINFO sInfo;
         sInfo.cb = sizeof(STARTUPINFO);
         sInfo.lpReserved = NULL;
         sInfo.lpReserved2 = NULL;
         sInfo.cbReserved2 = 0;
         sInfo.lpDesktop = NULL;
         sInfo.lpTitle = NULL;
         sInfo.dwFlags = 0;
         sInfo.dwX = 0;
         sInfo.dwY=0;
         sInfo.dwFillAttribute=0;
         sInfo.wShowWindow = SW_SHOW;
         const char *str = (env)->GetStringUTFChars(url,FALSE);
         TCHAR szAppName[] = TEXT("Program Files\\PocketTV\\PocketTV.exe");
         //TCHAR szPVB[] = TEXT("http://167.167.136.82/movies/mh.mpa");
         TCHAR szPVB[150];
         MultiByteToWideChar(CP_ACP,0,str,-1,szPVB,1024);
         if (!CreateProcess(szAppName,szPVB,NULL,NULL,FALSE,0,NULL,NULL,&sInfo,&pInfo))
              printf("Error\n");
              //exit(1);
         (env)->ReleaseStringUTFChars(url,str);
         return;
    JNIEXPORT void JNICALL Java_com_uo_wireless_Loader_getAudioDevice
    (JNIEnv *env, jobject obj, jstring url)
         PROCESS_INFORMATION pInfo;
         STARTUPINFO sInfo;
         sInfo.cb = sizeof(STARTUPINFO);
         sInfo.lpReserved = NULL;
         sInfo.lpReserved2 = NULL;
         sInfo.cbReserved2 = 0;
         sInfo.lpDesktop = NULL;
         sInfo.lpTitle = NULL;
         sInfo.dwFlags = 0;
         sInfo.dwX = 0;
         sInfo.dwY=0;
         sInfo.dwFillAttribute=0;
         sInfo.wShowWindow = SW_SHOW;
         const char *str = (env)->GetStringUTFChars(url,FALSE);
         TCHAR szAppName[] = TEXT("Windows\\ceplayer.exe");
         TCHAR szPVB[150];
         MultiByteToWideChar(CP_ACP,0,str,-1,szPVB,1024);
         if (!CreateProcess(szAppName,szPVB,NULL,NULL,FALSE,0,NULL,NULL,&sInfo,&pInfo))
              printf("Error\n");
              //exit(1);
         (env)->ReleaseStringUTFChars(url,str);
         return;

  • Error when I launch my program

    Following the advices of a friend, I have made a jar file like that :
    I have compressed with winzip a folder containing all the .class files of my java project
    I have renamed the .zip file in .jar
    Now I try to launch my java program in a DOS window, going in the folder containig the .jar file, and launching :
    java "name of my main class"
    I have a message :
    Exception in thread "main" java.lang.NoClassDefFoundError : nameofmyclass
    What's wrong ?
    Have I made something wrong ?
    How can I launch my program on another PC ?
    Thanks

    You might have run into one of the following problems:
    - JAVA is case sensitive, have a look in the jar file (using WinZip) about the correct name of the class
    - Your jar file contains directories. you should not put your main class file in a directory inside the jar file unless you are using packages
    - You are using packages- try to call the class name with the right package name ( java package.classname)
    - You have not specified a manifest file attribute "main-class" inside the jar file while calling the program with the -jar option.
    - You have forgotton to put the jar file in the class path. Call your application with
    java -cp <jarfile name> <name of your class>
    I hope on of those helps.
    OIiver

  • How to launch a program from Director?

    Hi, I'm new to Director.
    I want the user of my Director movie to click on a button
    that launches Adobe Acrobat and a help file (external to the
    Director movie).
    How do I do this?

    I have a similar question... can Director be used to launch a
    program? I understand that you can tell it to open a file, in which
    case the default application is automatically launched, but can you
    give it a specific command line to execute?
    I have SCALA MM200, and it can execute command lines from
    within Windows, but as I recall it wasn't a very seamless
    transition between the presentation and the launched program. I
    hesitate to keep using MM200, since it was designed for Win 98/NT,
    but rather than buy new software it might be best to stick with
    what I've got if it still works under XP.
    Seems to me a lot of current "multimedia" software is great
    for animations and presentations, but there's little consideration
    for creating a true GUI with it that will do stuff outside of the
    presentation itself. I suppose I should go with VisualBasic or
    something like that, but my programming days are 20 years behind
    me, and there's still the issue of buying new software (unless VB
    is free, which I doubt).
    I plan to try MM200 under XP, but if it doesn't work, or
    doesn't perform quite as I'd like it to, it would help to know that
    Director could work. However, if there's no way to execute a
    specific command line, it probably isn't the right choice for me.
    A quick summary of my planned application is to present a
    menu of choices to the user, and then execute certain programs
    depending on the choice. The presentation will probably hide in the
    background while these programs run, so another consideration is
    avoiding any conflicts. The programs are video game emulators, and
    certain options are set in the command line, so simply telling
    Director to open a game file may not work, even if the emulator is
    set as the default application to open that file. I'll still need
    to pass certain command line switches to the app, and I'm not sure
    I can do that in Director.
    Thanks in advance for any help! :) (I never visit the forum,
    so it's best to e-mail me at [email protected])

  • How to run a Concurrent Program from the back end?

    Hi,
    How to run a Concurrent Program from the back end?
    Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
    If yes, then Please Give reply how to write the code
    Thanks in Advance,
    Bharathi.S

    This is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
    221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
    235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
    HTH
    Srini

  • How do I get a program to start up when I turn my computer on?

    You know how in the dock, there's a little triangle under a program that's technically running even if you don't have a window open? Dashboard and Finder always have that triangle after start up. How do I get another program, like Safari to "start up" with that triangel all the time even if I don't want to have the browser window open when I turn my computer on?

    Open the Accounts pane of System Preferences, add it to the list of login items for your account, and check the box to hide it. Some applications, such as Mail, ignore the box in Mac OS X 10.4 and are always visible when launched; in this case, an AppleScript can be used to hide them.
    (24829)

  • In Lion, running on an i MAC (late 2006), how can I stop certain programs from automatically starting up when I start my MAC?

    In Lion, running on an I MAC, (late 2006), how can I stop certain programs (iTunes, Word) from automatically starting up when I start the computer?

    Any application that is open when you shut down will re-open when you restart unless you deselect this when shutting down/restarting:
    Also check System Preferences>Users & Groups>Login items tab and make sure there's nothing listed there that you don't want launched.

  • Issue with launching Java Program - Java Library Problem?

    I hope this is the right forum, I apologize if it isn't. I am having issues launching a program for a video game that uses java. One of the devs told me to post my issue here, as he doesn't know how much more help he can give with this issue. Using the java -jar command, this is the printout I get:
    Microsoft Windows [Version 6.0.6002]
    Copyright (c) 2006 Microsoft Corporation.  All rights reserved.
    C:\Users\vecdran>java -version
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
    C:\Users\vecdran>chdir C:\Games\Steam\Steamapps\common\Crysis\mods\mwll\actionma
    pper\dist
    C:\Games\Steam\steamapps\common\crysis\Mods\mwll\Actionmapper\dist>java -jar Act
    ionmapper.jar
    Jun 18, 2010 2:25:19 PM org.jdesktop.application.Application$1 run
    *SEVERE: Application class mwllactionmapper.MWLLActionmapperApp failed to launch*
    *java.lang.NullPointerException*
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at sun.swing.WindowsPlacesBar.<init>(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFo
    lder(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponent
    s(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknow
    n Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.swing.JFileChooser.updateUI(Unknown Source)
    at javax.swing.JFileChooser.setup(Unknown Source)
    at javax.swing.JFileChooser.<init>(Unknown Source)
    at javax.swing.JFileChooser.<init>(Unknown Source)
    at mwllactionmapper.model.ActionmapsFileModel.getMWLLDocumentsFolder(Act
    ionmapsFileModel.java:141)
    at mwllactionmapper.model.ActionmapsFileModel.getMWLLProfiles(Actionmaps
    FileModel.java:160)
    at mwllactionmapper.MWLLActionmapperView.doSelectProfile(MWLLActionmappe
    rView.java:603)
    at mwllactionmapper.MWLLActionmapperView.<init>(MWLLActionmapperView.jav
    a:75)
    at mwllactionmapper.MWLLActionmapperApp.startup(MWLLActionmapperApp.java
    :21)
    at org.jdesktop.application.Application$1.run(Application.java:171)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-0" java.lang.Error: Application class mwllac
    tionmapper.MWLLActionmapperApp failed to launch
    at org.jdesktop.application.Application$1.run(Application.java:177)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at sun.swing.WindowsPlacesBar.<init>(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFo
    lder(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponent
    s(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknow
    n Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.swing.JFileChooser.updateUI(Unknown Source)
    at javax.swing.JFileChooser.setup(Unknown Source)
    at javax.swing.JFileChooser.<init>(Unknown Source)
    at javax.swing.JFileChooser.<init>(Unknown Source)
    at mwllactionmapper.model.ActionmapsFileModel.getMWLLDocumentsFolder(Act
    ionmapsFileModel.java:141)
    at mwllactionmapper.model.ActionmapsFileModel.getMWLLProfiles(Actionmaps
    FileModel.java:160)
    at mwllactionmapper.MWLLActionmapperView.doSelectProfile(MWLLActionmappe
    rView.java:603)
    at mwllactionmapper.MWLLActionmapperView.<init>(MWLLActionmapperView.jav
    a:75)
    at mwllactionmapper.MWLLActionmapperApp.startup(MWLLActionmapperApp.java
    :21)
    at org.jdesktop.application.Application$1.run(Application.java:171)
    ... 8 more
    C:\Games\Steam\steamapps\common\crysis\Mods\mwll\Actionmapper\dist>As you can see, my Java is completely up to date, and this is the only program I appear to have problems launching. I have no idea what to do from here. :(
    PS.
    I had to add the Java path to my System -> Environmental Variables -> Path variable, as it was not there from the start, and before adding it command prompt wouldn't recognize java commands. Don't know whether this indicates anything.
    Edited by: vecdran on Jun 20, 2010 11:23 AM

    [Bug ID 4711700|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4711700] is eerily similar to what you're experiencing. Although the bug was reported against an older version of the JDK the last comment provides a workaround to the problem that may be helpful. Good luck.

  • How to make a Java program that recognises a function of two variables...

    How to make a Java program that recognises a function of two variables to assign values to that?
    First I will give an example and then do the question.
    Ex1.
    We have any function, eg.y = x ^ 2 + 1 (read 'y' equals 'x' high to the square), a function of the second degree.
    To build the graph of this function attach values to 'x' to find the values of 'y'
    And thus mount the pair ordered (x, y) which represents a point on the Cartesian plane.
    Assigning values to 'x' 'we can build up a table that gives us the pairs ordered:
    We can use any numbers, but arfer interval [-3.3]
    X | y = x ^ 2 + 1
    -3 | Y = (-3) ^ 2 +1 = 10
    -2 | Y = (-2) ^ 2 +1 = 5
    -1 | Y = (-1) ^ 2 +1 = 2
    0 | y = (0) ^ 2 +1 = 1
    1 | y = (1) ^ 2 +1 = 2
    2 | y = (2) ^ 2 +1 = 5
    3 | y = (3) ^ 2 +1 = 10
    We then ordered the pairs:
    (-3.10), (-2.5); (-1.2), (0,1), (1,2), (2,5), (3,10)
    Tabem that can be represented by a table:
    X | y
    -3 | Y = 10
    -2 | Y = 5
    -1 | Y = 2
    0 | y = 1
    1 | y = 2
    2 | y = 5
    3 | y = 10
    Now I begin to explain my doubts.
    See this program:
    Ex2
    * To change this template, choose Tools | Templates
    * And open the template in the editor.
    Encontrando_o_valor_de_y package;
    * @ Author des Soldat Gottes
    Import javax.swing.JOptionPane;
    Public class (Main
    * @ Param args the command line arguments
    Public static void main (String [] args) (
    Int x, y;
    String x1;
    X1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',"); / / receives a value for the function y = x + 1
    X = Integer.parseInt (x1); / / tranforma String in int
    Y = x + 1; / / receives the value of 'x' and calculates' y '
    JOptionPane.showMessageDialog (null, "The value of 'y' is: \ t \ t" + y);
    / / Displays the value of 'y'
    System.exit (0);
    We see that the program receives above a value for 'x' and replaces the function contained in the program, y = x + 1, and so is the value of the variable 'y'.
    In: x1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',");
    The entry is a number and that number is assigned aa ja existing function in the (y = x + 1).
    The question is: would it be possible to come to a function?
    Ex: the program ask: DIGITE THE FUNCTION?
    The USUARIO DIGITARIA A FUNCTION ANY, TYPE: y = x ^ 2 +1
    The program would recognize the function and give numerical values to that function as Ex1, at the beginning of this text.
    And then to find the values of the x and y launch a table.
    It would be possible that?
    By invez of entering with a number so that the program sustitua a function ja existing as Ex2, seen above, entering with a function quaquer (type: y = x ^ 2 +1) for the program atribuisse values to that function and then create a table of values as Ex1.
    I hope it has been easier to understand my doubts now.
    Thank you for your attention!
    God bless!

    rafaelmenezes wrote:
    Thanks for the explanation, could understand what fly said.
    But as it applied to a program?
    How to create a program that recognizes that the entry coefficients?Are you asking about how to parse out the coefficients from the string "3x^4 + 4x^3 - 8x^2 + 5x^1 + 2x^0"? If you define the format to strictly follow that example, this should get you started:
    Strip out the spaces
    Split the String on "x^"
    That should give you [3, 4+4, 3-8, 2+5, 1+2, 0]
    Split each resulting String on "+ | -", preserving the operator as a token so you can apply the correct sign to the coeff.
    That should leave you with [3, 4, +, 4, 3, -, 8, 2, +, 5, 1, +, 2, 0]. Every other number is a coeff, the rest are the degrees.
    You can strip out the +, since those coeffs are already positive, and strip out the - after negating the following number. This is all assuming that you have to write this yourself. There is no doubt already a library or 5 out there that does this for you.

  • I have downloaded elements to my mac and it has installed. how do I run the program?

    I have downloaded elements to my mac and it has installed. How do I run the program.

    Hi David,
    You can simply click on the application to launch it from the 'Applications' folder.

  • Can't launch some programes

    Hi
    I have an iBook, the hard crashed recentley and was replaced by the local apple shop. However, since then when I go to launch some programes that I have downloaded they will not launch.
    An example, before I could install iTunes 7 but now 7.1 which I recently downloaded will not launch. Not even to check if it is able to install on my mac. Also the anti virus software ClamXav_1.0.7b
    Is it me or the mac?
    Look forward to any help you can give me.
    James

    James:
    It is very likely the Mac. The installation of the OS may have problems.
    First, Repair Disk.
    Insert Installer disk and Restart, holding down the "C" key.
    Go to Installer menu and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel, and report)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need to use a utility like Tech Tool Pro or Disk Warrior
    If that does not help, Repair Disk Permissions from internal HDD, download and install the 10.3.9 Combo Update, Repair Disk Permissions, then go to the Apple Menu > Software Update and download and install any updates, Repair Disk Permissions if you installed anything new.
    Try this and then let me know how it goes. Please do post back with further questions or comments.
    Good luck.
    cornelius
    Message was edited by: cornelius

  • How do I launch free trial of CS6?

    I have downloaded a free version of CS6 and I can't figure out how to launch the program. I have a serial number through school but I don't know how or where to enter it. Mostly I just need to open the programs.
    Thanks!

    Run the setup.exe/ install app.
    Mylenium

  • I compiled now how do I run the program

    Hi,
    I have installed J2SE. I have written a .java file that successfully compiles in MS DOS (I have a Windows 2000 platform). This program has JPanes, Jpanels etc. How do I run this program? I am guessing it is not through DOS.
    Seems so simple but I don't know how and can't find the answer on Sun's website.
    Can anyone help?
    C.C.

    thanks but when i try that i get the following error mesage;
    Exception in thread "main" java.lang.NoClassDefFoundError: DiveLog (wrong name:
    divelog/DiveLog)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    It compiles fine but gives this message when i try to run the program. What are these error messages trying to tell me?

  • How do I launch Power Teacher Gradebook?

    How do I launch Power Teacher Gradebook?

    As far as I have found on Pearson's site and through these forums, there is no way to use Power Teacher from a Mac. The program will only work on an iPad. I have an iPhone and it too will not work.
    This is something that Pearson should fix as I knew I was not the only one. They may be inhibiting the productivity of teachers in counties that are parying for their services.
    iPads are generally provided to administrators and other staff in some cases in our county school system.
    I have a Macbook Pro running Mavericks. Other forums show this problem has existed for quite some time.

  • Trying to install Lightroom on a iMac, iOS 10.9.5, launching the program is unsuccessful, results in a crash report

    After installing LR5, I try to launch the program but I receive a message saying LR5 has unexpectedly quit. Anyone who can help with this issue?
    This is part of the crash report:
    Application Specific Information:
    *** Terminating app due to uncaught exception 'LuaRunException', reason: 'AgPathUtils.getStandardFilePath: can't create directory at: /Users/kjetilstubbberud/Library/Application Support/Adobe/Lightroom'
    terminating with uncaught exception of type NSException
    abort() called

    while I can download it I cannot install it.
    What happens when you try?  How much free space do you have on your boot drive? In preparation to installation I booted into Maverick's Recovery volume and repaired both the disk permissions and disk. Then I ran the Yosemite installer. Give that a try and see if it helps.

Maybe you are looking for