When a program is launched, it usually opens in a particular window. Nevertheless, there could also be occasions whenever you need to change the window wherein a program launches. For instance, you might need to launch a program in a maximized window, or you might need to launch it in a particular location in your display screen. Altering the window wherein a program launches is an easy course of, and it may be completed in a number of alternative ways.
One option to change the window wherein 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” subject, add the next swap to the top of the trail: “-window-size=width,peak.” For instance, if you wish to launch this system in a maximized window, you’ll add the next swap to the top of the trail: “-window-size=1920,1080.” Click on on the “OK” button to save lots of your modifications.
One other option to change the window wherein a program launches is to make use of a third-party program. There are a selection of various packages accessible that may provide help to to handle the home windows wherein your packages launch. One widespread program is Window Supervisor. Window Supervisor lets you create and handle customized window layouts. You should utilize Window Supervisor to launch packages in particular home windows, and you can even 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 conduct. Shortcuts are handy tips that could packages, residing on the desktop or within the Begin menu. They supply easy accessibility to functions with out navigating by means of 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 sort the title of this system you need to modify. As you sort, an inventory of matching outcomes will seem. If this system is put in, its shortcut ought to be displayed within the checklist.
Browse the Desktop
Verify the desktop for any icons associated to this system. Sometimes, program shortcuts are positioned on the desktop for fast entry. In case you discover the shortcut icon, right-click on it and choose “Properties” from the context menu.
Discover File Explorer
If the shortcut will not be on the desktop or within the Begin menu, you’ll be able to manually find it in File Explorer. Navigate to the next listing:
C:Customers[Your Username]AppDataRoamingMicrosoftWindowsStart MenuPrograms
Right here, you 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 vary the window a program launches on utilizing the right-click shortcut methodology, observe these steps:
1. Find the Shortcut
Navigate to the desktop or folder the place the shortcut to the specified program is situated. It’s also possible to 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, swap to the “Shortcut” tab.
3. Customise Shortcut Goal
Within the “Goal” subject, you will notice the trail to this system’s executable file. On the finish of the trail, separated by an area, you can find the command line arguments. These arguments management varied settings of this system, together with the window it launches on. To vary 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 modifications 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 vary what window a program launches on, you first must 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 vary the window that this system launches on, you’ll want to edit the trail within the “Goal” subject.
Within the “Goal” subject, there might be a path to this system’s executable file. This path might be adopted by an area after which the title of the window that this system launches on. To vary the window that this system launches on, you’ll want to edit the title of the window within the “Goal” subject.
For instance, if the “Goal” subject presently reads “C:Program FilesProgram NameProgram.exe -window1”, then this system will launch on window 1. To vary this system to launch on window 2, you’ll edit the “Goal” subject to learn “C:Program FilesProgram NameProgram.exe -window2”.
Instance
For example you will have a program that you simply at all times 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” subject, 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” subject to learn “C:Program FilesProgram NameProgram.exe -window2”.
A number of Home windows
Some packages can help you launch a number of home windows on the similar time. To do that, you’ll want to add the “-multiple” parameter to the trail to this system’s executable file within the “Goal” subject. For instance, if the trail to this system’s executable file is “C:Program FilesProgram NameProgram.exe”, you’ll edit the “Goal” subject 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 high.
Goal Discipline
Within the “Shortcut” tab, you can find the “Goal” subject. This subject accommodates the trail to the executable file that launches this system. You’ll be able to change the window that this system launches on by modifying the trail on this subject.
Particular Window Command
To launch this system in a particular window, add a command to the top of the trail within the “Goal” subject. The command ought 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 | Essential Window |
| 1 | First Secondary Window |
| 2 | Second Secondary Window |
| … | … |
After you have made the mandatory modifications, click on “OK” to save lots of your modifications. This system will now launch within the specified window the following time it’s run.
Modify the “Goal” Discipline
Within the Properties window, you may see a textual content subject labeled “Goal.” This subject accommodates the trail to this system’s executable file. To vary the window on which this system launches, you’ll want to modify this path. Listed below are the steps on do it:
- Within the “Goal” subject, find the trail to this system’s executable file. This path normally ends with a “.exe” extension.
- After the trail, add an area and sort 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 modifications.
For instance, if the unique “Goal” subject accommodates the next path:
| Authentic “Goal” subject |
|---|
| “C:Program FilesMyProgrammyprogram.exe” |
After modifying the sphere, it’s going to appear to be this:
| Modified “Goal” subject |
|---|
| “C:Program FilesMyProgrammyprogram.exe” -newwindow |
Once you launch this system now, it’s going to open in a brand new window as a substitute of the default window.
Add the Desired Window Identify
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 title that seems within the title bar of the window. To search 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.** This can be a distinctive identifier for every sort of window. To search 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 factor” from the menu. Within the inspector, discover the “class” attribute of the window. This would be the window class.
| Technique | Syntax |
|---|---|
| Window title | set_window_name(window_title) |
| Window class | set_window_class(window_class) |
After you have the window title or class, you need to use it to set the specified window title. Merely move the window title or class to the set_window_name() or set_window_class() methodology.
For instance, the next code units the specified window title to “MyWindow”:
“`
driver.set_window_name(“MyWindow”)
“`
After you will have set the specified window title, this system will open in that window the following time it’s run.
Select the Software You Need to Modify
Step one is to pick the applying that has been launching on the improper 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 Software and Choose “Get Information”
After you have chosen the applying, right-click on it and choose “Get Information” from the menu that seems.
Click on on the “Normal” Tab
Within the “Get Information” window, click on on the “Normal” tab. This may show basic details about the applying, together with its title, model, and measurement.
Find the “Open With” Dropdown Menu
On the “Normal” tab, find the “Open With” dropdown menu. This menu will show an inventory of functions which might be suitable with the chosen utility.
Choose the Desired Software from the Dropdown Menu
From the “Open With” dropdown menu, choose the applying that you simply need to open the chosen utility with. This would be the utility that can launch on the specified window.
Click on “Change All” to Apply the Setting to All Information of the Similar Sort
If you wish to apply this setting to all information of the identical sort, click on on the “Change All” button. This may open a affirmation dialog field. Click on on the “Proceed” button within the affirmation dialog field to use the setting to all information of the identical sort.
Click on “Apply” and “OK”
To avoid wasting the modifications, click on on the “Apply” button within the “Get Information” window. Then, click on on the “OK” button to shut the “Get Information” window.
Troubleshoot Potential Points
1. Confirm that you’ve the mandatory permissions.
In case you are unable to vary the window a program launches on, confirm that you’ve the mandatory permissions to take action. You might must contact your system administrator for help.
2. Guarantee this system will not be already operating.
If this system is already operating, you will be unable to vary the window it launches on. Shut this system and check out once more.
3. Verify for any conflicts with different packages.
Some packages might battle with the flexibility to vary the window a program launches on. Shut every other packages which may be operating and check out once more.
4. Replace this system to the most recent model.
The problem could also be resolved in a more recent model of this system. Verify for updates and set up them if accessible.
5. Reinstall this system.
If all else fails, you’ll be able to attempt reinstalling this system. This may reset any settings which may be inflicting the difficulty.
6. Restore the Home windows registry.
The Home windows registry might include corrupted or lacking entries that may trigger issues with altering the window a program launches on. Restore the registry utilizing a software like CCleaner or Registry Mechanic.
7. Carry out a system restore.
If the difficulty began after making modifications to your system, you’ll be able to attempt performing a system restore. This may revert your system to a earlier state earlier than the difficulty occurred.
8. Contact this system developer.
If in case you have tried all the above steps and are nonetheless unable to vary the window a program launches on, you’ll be able to contact this system developer for help. They can give you additional troubleshooting steps or a repair for the difficulty.
| Technique | Description |
|---|---|
| 1. Confirm permissions | Guarantee you will have the mandatory permissions to vary the window. |
| 2. Shut this system | This system have to be closed earlier than altering the window. |
| 3. Verify for conflicts | Shut every other packages which will intrude with the method. |
| 4. Replace this system | Set up the most recent 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 software to repair corrupted or lacking entries. |
| 7. Carry out a system restore | Revert your system to a earlier state if the difficulty began after current modifications. |
| 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 can help you specify which window this system ought to launch on. These switches differ relying on this system, so you may must seek the advice of this system’s documentation to seek out the precise swap 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 swap, open the Command Immediate or Terminal window and sort 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 Information (x86)GoogleChromeApplicationchrome.exe" --app=My Window
It’s also possible to use a shortcut to launch a program with a particular command-line swap. To do that, right-click on this system’s icon and choose “Properties”. Within the “Goal” subject, add the command-line swap to the top of the trail, as proven within the following instance:
"C:Program Information (x86)GoogleChromeApplicationchrome.exe" --app=My Window
Click on “OK” to save lots of your modifications. Now, whenever you double-click on the shortcut, this system will launch within the specified window.
| Program | Command-Line Swap |
|---|---|
| Google Chrome | –app=[window name] |
| Microsoft Phrase | /n[window name] |
| Adobe Reader | /A[window name] |
Take into account Third-Social gathering Window Managers
If the built-in choices in your working system do not present the pliability you want, contemplate putting in a third-party window supervisor. These instruments supply a variety of customization choices, permitting you to fine-tune your window conduct 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 intensive configuration capabilities |
| Mutter | GNOME’s default window supervisor, extremely customizable |
Choosing a Window Supervisor
When selecting a third-party window supervisor, contemplate its options, user-friendliness, and compatibility together with your system.
Configuring the Window Supervisor
As soon as you have put in a window supervisor, you’ll be able to configure it to vary the show settings of particular packages. This usually includes modifying configuration information or utilizing graphical interfaces supplied by the window supervisor.
Setting Window Guidelines
Most window managers present rule-based methods that can help you specify standards for the way home windows ought to be positioned and launched. You’ll be able to create guidelines based mostly on components reminiscent of this system title, window measurement, or window class.
Superior Options
Some window managers supply superior options reminiscent of customized window layouts, keyboard shortcuts, and automated window placement. These options allow you to optimize your workflow and create a extremely customized window administration expertise.
Troubleshooting
In case you encounter points with window positioning or launching, verify the configuration information of your window supervisor and working system. It’s also possible to 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 ought to be an possibility to vary the default window.
- In your pc’s settings, you’ll be able to change the default window for all packages.
Further ideas
- If unable to vary this setting in this system, attempt doing this in your pc’s settings.
- If encountering any points, seek the advice of this system’s documentation or contact the developer for help.
Individuals Additionally Ask About How To Change What Window A Program Launches On
How do I modify 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 modify 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 “Listing All Modes” button. Choose the specified decision and click on “OK”.
How do I modify 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.