When a program is launched, it usually opens in a selected window. Nevertheless, there could also be occasions once you need to change the window during which a program launches. For instance, it’s possible you’ll need to launch a program in a maximized window, or it’s possible you’ll need to launch it in a selected location in your display screen. Altering the window during which a program launches is a straightforward course of, and it may be accomplished in a number of alternative ways.
One technique to change the window during which a program launches is to make use of this system’s properties. To do that, right-click on this system’s icon and choose “Properties.” Within the “Properties” dialog field, click on on the “Shortcut” tab. Within the “Goal” area, add the next change to the top of the trail: “-window-size=width,top.” For instance, if you wish to launch this system in a maximized window, you’ll add the next change to the top of the trail: “-window-size=1920,1080.” Click on on the “OK” button to save lots of your adjustments.
One other technique to change the window during which a program launches is to make use of a third-party program. There are a variety of various packages obtainable that may enable you to handle the home windows during which your packages launch. One widespread program is Window Supervisor. Window Supervisor lets you create and handle customized window layouts. You need to use Window Supervisor to launch packages in particular home windows, and you may also use it to resize and transfer home windows.
Find the Program’s Shortcut
Figuring out this system’s shortcut is an important step in modifying its launch habits. Shortcuts are handy tips that could packages, residing on the desktop or within the Begin menu. They supply quick access to purposes with out navigating via directories.
To find the shortcut, carry out the next steps:
Seek for the Program within the Begin Menu
Click on on the Home windows Begin button and kind the identify of this system you need to modify. As you sort, a listing of matching outcomes will seem. If this system is put in, its shortcut needs to be displayed within the record.
Browse the Desktop
Examine the desktop for any icons associated to this system. Sometimes, program shortcuts are positioned on the desktop for fast entry. When you discover the shortcut icon, right-click on it and choose “Properties” from the context menu.
Discover File Explorer
If the shortcut shouldn’t be on the desktop or within the Begin menu, you may manually find it in File Explorer. Navigate to the next listing:
C:Customers[Your Username]AppDataRoamingMicrosoftWindowsStart MenuPrograms
Right here, one can find subfolders for every program put in in your system. Find the subfolder for this system you need to modify and search for its shortcut file.
Proper-click the Shortcut
To alter the window a program launches on utilizing the right-click shortcut technique, comply with these steps:
1. Find the Shortcut
Navigate to the desktop or folder the place the shortcut to the specified program is situated. You too can seek for this system within the Begin menu or use the Home windows search bar to seek out the shortcut.
2. Entry Shortcut Properties
Proper-click on the shortcut icon and choose “Properties” from the context menu. Within the Properties window, change to the “Shortcut” tab.
3. Customise Shortcut Goal
Within the “Goal” area, you will notice the trail to this system’s executable file. On the finish of the trail, separated by an area, one can find the command line arguments. These arguments management varied settings of this system, together with the window it launches on. To alter the window, add the next argument to the top of the command line:
“`
/D:window_number
“`
the place window_number is the variety of the window you need this system to launch. For instance, to launch this system within the third window, you’ll add:
“`
/D:3
“`
If the command line arguments exist already, guarantee there’s a area separating them from the brand new argument. Click on “OK” to save lots of the adjustments and shut the Properties window.
4. Confirm the Change
Launch this system utilizing the modified shortcut to confirm if it opens within the desired window.
Choose “Properties”
To alter what window a program launches on, you first have to open this system’s properties. To do that, right-click on this system’s icon and choose “Properties” from the menu.
Location Tab
As soon as the properties window is open, click on on the “Location” tab. This tab will present you the trail to this system’s executable file. To alter the window that this system launches on, it’s good to edit the trail within the “Goal” area.
Within the “Goal” area, there might be a path to this system’s executable file. This path might be adopted by an area after which the identify of the window that this system launches on. To alter the window that this system launches on, it’s good to edit the identify of the window within the “Goal” area.
For instance, if the “Goal” area at the moment reads “C:Program FilesProgram NameProgram.exe -window1”, then this system will launch on window 1. To alter this system to launch on window 2, you’ll edit the “Goal” area to learn “C:Program FilesProgram NameProgram.exe -window2”.
Instance
For instance you will have a program that you simply all the time need to launch on window 2. To do that, you’ll open this system’s properties and click on on the “Location” tab. Within the “Goal” area, you’ll edit the trail to this system’s executable file to incorporate the “-window2” parameter. For instance, if the trail to this system’s executable file is “C:Program FilesProgram NameProgram.exe”, you’ll edit the “Goal” area to learn “C:Program FilesProgram NameProgram.exe -window2”.
A number of Home windows
Some packages let you launch a number of home windows on the similar time. To do that, it’s good to add the “-multiple” parameter to the trail to this system’s executable file within the “Goal” area. For instance, if the trail to this system’s executable file is “C:Program FilesProgram NameProgram.exe”, you’ll edit the “Goal” area to learn “C:Program FilesProgram NameProgram.exe -multiple”.
Possibility | Description |
---|---|
-window1 | Launches this system on window 1 |
-window2 | Launches this system on window 2 |
-multiple | Permits this system to launch a number of home windows |
Navigate to the “Shortcut” Tab
Start by finding this system’s shortcut icon in your desktop or within the Begin menu. Proper-click on the icon and choose “Properties.” Within the “Properties” window, navigate to the “Shortcut” tab utilizing the tabs on the prime.
Goal Area
Within the “Shortcut” tab, one can find the “Goal” area. This area comprises the trail to the executable file that launches this system. You may change the window that this system launches on by modifying the trail on this area.
Particular Window Command
To launch this system in a selected window, add a command to the top of the trail within the “Goal” area. The command needs to be within the following format:
Command
</w:WindowIndex>
Description
* /w: – Prefix denoting a window command.
* WindowIndex – Index of the specified window to launch this system in.
For instance, to launch this system within the second window, you’ll add the next command to the top of the trail:
Instance
</w:2>
Desk: Window Index Values
Window Index | Window |
---|---|
0 | Most important Window |
1 | First Secondary Window |
2 | Second Secondary Window |
… | … |
After getting made the required adjustments, click on “OK” to save lots of your adjustments. This system will now launch within the specified window the subsequent time it’s run.
Modify the “Goal” Area
Within the Properties window, you will see a textual content area labeled “Goal.” This area comprises the trail to this system’s executable file. To alter the window on which this system launches, it’s good to modify this path. Listed below are the steps on do it:
- Within the “Goal” area, find the trail to this system’s executable file. This path often ends with a “.exe” extension.
- After the trail, add an area and kind the next command: “-newwindow.” This command tells this system to launch in a brand new window.
- Click on “Apply” after which “OK” to save lots of your adjustments.
For instance, if the unique “Goal” area comprises the next path:
Unique “Goal” area |
---|
“C:Program FilesMyProgrammyprogram.exe” |
After modifying the sphere, it is going to seem like this:
Modified “Goal” area |
---|
“C:Program FilesMyProgrammyprogram.exe” -newwindow |
Once you launch this system now, it is going to open in a brand new window as a substitute of the default window.
Add the Desired Window Title
That is the place you inform your program which window you need it to open in. There are two methods to do that:
- **Use the window title.** That is the identify that seems within the title bar of the window. To seek out the window title, open this system and click on on the window you need it to open in. The title might be displayed within the title bar.
- **Use the window class.** It is a distinctive identifier for every sort of window. To seek out the window class, open this system and click on on the window you need it to open in. Proper-click on the window and choose “Examine aspect” from the menu. Within the inspector, discover the “class” attribute of the window. This would be the window class.
Methodology | Syntax |
---|---|
Window title | set_window_name(window_title) |
Window class | set_window_class(window_class) |
After getting the window title or class, you need to use it to set the specified window identify. Merely move the window title or class to the set_window_name()
or set_window_class()
technique.
For instance, the next code units the specified window identify to “MyWindow”:
“`
driver.set_window_name(“MyWindow”)
“`
After you will have set the specified window identify, this system will open in that window the subsequent time it’s run.
Select the Utility You Need to Modify
Step one is to pick out the applying that has been launching on the flawed window. You are able to do this by clicking on the applying’s icon within the dock or by opening the Finder and navigating to the applying’s folder.
Proper-Click on on the Utility and Choose “Get Data”
After getting chosen the applying, right-click on it and choose “Get Data” from the menu that seems.
Click on on the “Common” Tab
Within the “Get Data” window, click on on the “Common” tab. This can show normal details about the applying, together with its identify, model, and measurement.
Find the “Open With” Dropdown Menu
On the “Common” tab, find the “Open With” dropdown menu. This menu will show a listing of purposes which are appropriate with the chosen software.
Choose the Desired Utility from the Dropdown Menu
From the “Open With” dropdown menu, choose the applying that you simply need to open the chosen software with. This would be the software that may launch on the specified window.
Click on “Change All” to Apply the Setting to All Recordsdata of the Identical Sort
If you wish to apply this setting to all recordsdata of the identical sort, click on on the “Change All” button. This can open a affirmation dialog field. Click on on the “Proceed” button within the affirmation dialog field to use the setting to all recordsdata of the identical sort.
Click on “Apply” and “OK”
To avoid wasting the adjustments, click on on the “Apply” button within the “Get Data” window. Then, click on on the “OK” button to shut the “Get Data” window.
Troubleshoot Potential Points
1. Confirm that you’ve got the required permissions.
In case you are unable to vary the window a program launches on, confirm that you’ve got the required permissions to take action. Chances are you’ll have to contact your system administrator for help.
2. Guarantee this system shouldn’t be already working.
If this system is already working, you will be unable to vary the window it launches on. Shut this system and check out once more.
3. Examine for any conflicts with different packages.
Some packages could battle with the flexibility to vary the window a program launches on. Shut every other packages which may be working and check out once more.
4. Replace this system to the newest model.
The difficulty could also be resolved in a more moderen model of this system. Examine for updates and set up them if obtainable.
5. Reinstall this system.
If all else fails, you may strive reinstalling this system. This can reset any settings which may be inflicting the difficulty.
6. Restore the Home windows registry.
The Home windows registry could include corrupted or lacking entries that may trigger issues with altering the window a program launches on. Restore the registry utilizing a instrument like CCleaner or Registry Mechanic.
7. Carry out a system restore.
If the difficulty began after making adjustments to your system, you may strive performing a system restore. This can revert your system to a earlier state earlier than the difficulty occurred.
8. Contact this system developer.
You probably have tried all the above steps and are nonetheless unable to vary the window a program launches on, you may contact this system developer for help. They can give you additional troubleshooting steps or a repair for the difficulty.
Methodology | Description |
---|---|
1. Confirm permissions | Guarantee you will have the required permissions to vary the window. |
2. Shut this system | This system should be closed earlier than altering the window. |
3. Examine for conflicts | Shut every other packages which will intrude with the method. |
4. Replace this system | Set up the newest model of this system to resolve potential points. |
5. Reinstall this system | Reinstalling this system can reset settings and resolve points. |
6. Restore the registry | Use a registry restore instrument to repair corrupted or lacking entries. |
7. Carry out a system restore | Revert your system to a earlier state if the difficulty began after latest adjustments. |
8. Contact the developer | Search skilled help from this system developer if different strategies fail. |
Use Command-Line Switches for Particular Packages
Many packages present command-line switches that let you specify which window this system ought to launch on. These switches differ relying on this system, so you will have to seek the advice of this system’s documentation to seek out the precise change you want. Listed below are a number of examples:
- Google Chrome:
--app=[window name]
- Microsoft Phrase:
/n[window name]
- Adobe Reader:
/A[window name]
To make use of a command-line change, open the Command Immediate or Terminal window and kind the next command:
[program path] [command-line switch]
For instance, to launch Google Chrome within the “My Window” window, you’ll sort the next command:
"C:Program Recordsdata (x86)GoogleChromeApplicationchrome.exe" --app=My Window
You too can use a shortcut to launch a program with a selected command-line change. To do that, right-click on this system’s icon and choose “Properties”. Within the “Goal” area, add the command-line change to the top of the trail, as proven within the following instance:
"C:Program Recordsdata (x86)GoogleChromeApplicationchrome.exe" --app=My Window
Click on “OK” to save lots of your adjustments. Now, once you double-click on the shortcut, this system will launch within the specified window.
Program | Command-Line Change |
---|---|
Google Chrome | –app=[window name] |
Microsoft Phrase | /n[window name] |
Adobe Reader | /A[window name] |
Think about Third-Social gathering Window Managers
If the built-in choices in your working system do not present the flexibleness you want, take into account putting in a third-party window supervisor. These instruments provide a variety of customization choices, permitting you to fine-tune your window habits to your liking.
Listed below are some widespread third-party window managers that allow you to management which window a program launches on:
Window Supervisor | Options |
---|---|
i3 | Highly effective and extremely configurable tiling window supervisor |
Superior | Extensible and scriptable window supervisor with superior options |
dwm | Minimalistic and customizable window supervisor |
xmonad | Haskell-based window supervisor with in depth configuration capabilities |
Mutter | GNOME’s default window supervisor, extremely customizable |
Choosing a Window Supervisor
When selecting a third-party window supervisor, take into account its options, user-friendliness, and compatibility together with your system.
Configuring the Window Supervisor
As soon as you’ve got put in a window supervisor, you may configure it to vary the show settings of particular packages. This usually entails modifying configuration recordsdata or utilizing graphical interfaces supplied by the window supervisor.
Setting Window Guidelines
Most window managers present rule-based programs that let you specify standards for the way home windows needs to be positioned and launched. You may create guidelines based mostly on components akin to this system identify, window measurement, or window class.
Superior Options
Some window managers provide superior options akin to customized window layouts, keyboard shortcuts, and computerized window placement. These options allow you to optimize your workflow and create a extremely customized window administration expertise.
Troubleshooting
When you encounter points with window positioning or launching, test the configuration recordsdata of your window supervisor and working system. You too can seek the advice of on-line boards or documentation for help.
How To Change What Window A Program Launches On
There are 2 methods to vary the default window on which a program launches.
- In this system’s settings, there needs to be an possibility to vary the default window.
- In your laptop’s settings, you may change the default window for all packages.
Further suggestions
- If unable to vary this setting in this system, strive doing this in your laptop’s settings.
- If encountering any points, seek the advice of this system’s documentation or contact the developer for help.
Folks Additionally Ask About How To Change What Window A Program Launches On
How do I alter what window a program launches on Mac?
Go to System Preferences > Mission Management. Click on the “Shows” tab and choose the show you need to use because the default for brand spanking new home windows. Within the “When new home windows open” part, choose the specified window.
How do I alter what window a program launches on Home windows?
Within the Home windows Settings app, go to System > Show > Superior show settings > Show adapter properties for Show 1. Within the “Settings” tab, click on the “Checklist All Modes” button. Choose the specified decision and click on “OK”.
How do I alter what window a program launches on Linux?
Edit this system’s .desktop file. Add the road “X-Window-ID=####” to the file, the place “####” is the ID of the specified window.