When a program is launched, it usually opens in a selected window. Nonetheless, there could also be occasions while you need to change the window by which 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 selected location in your display screen. Altering the window by which a program launches is a straightforward course of, and it may be carried out in a couple of alternative ways.
One solution to change the window by 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” subject, add the next change to the tip of the trail: “-window-size=width,top.” For instance, if you wish to launch this system in a maximized window, you’d add the next change to the tip of the trail: “-window-size=1920,1080.” Click on on the “OK” button to avoid wasting your adjustments.
One other solution to change the window by which a program launches is to make use of a third-party program. There are a variety of various packages out there that may provide help to to handle the home windows by which your packages launch. One common program is Window Supervisor. Window Supervisor permits you to 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 a vital step in modifying its launch conduct. Shortcuts are handy tips to packages, residing on the desktop or within the Begin menu. They supply easy accessibility to purposes with out navigating by way 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 kind the identify 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 needs to be displayed within the record.
Browse the Desktop
Verify the desktop for any icons associated to this system. Sometimes, program shortcuts are positioned on the desktop for fast entry. If you happen to discover the shortcut icon, right-click on it and choose “Properties” from the context menu.
Discover File Explorer
If the shortcut is just not 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’ll discover 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 positioned. You can too seek for this system within the Begin menu or use the Home windows search bar to search 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” subject, you will notice the trail to this system’s executable file. On the finish of the trail, separated by an area, you’ll discover the command line arguments. These arguments management numerous settings of this system, together with the window it launches on. To vary the window, add the next argument to the tip 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’d add:
“`
/D:3
“`
If the command line arguments exist already, guarantee there’s a house separating them from the brand new argument. Click on “OK” to avoid wasting 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 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 could edit the trail within the “Goal” subject.
Within the “Goal” subject, there will likely be a path to this system’s executable file. This path will likely be adopted by an area after which the identify of the window that this system launches on. To vary the window that this system launches on, you could edit the identify 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’d edit the “Goal” subject to learn “C:Program FilesProgram NameProgram.exe -window2”.
Instance
For example you could have a program that you just at all times need to launch on window 2. To do that, you’d open this system’s properties and click on on the “Location” tab. Within the “Goal” subject, you’d 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’d edit the “Goal” subject to learn “C:Program FilesProgram NameProgram.exe -window2”.
A number of Home windows
Some packages permit you to launch a number of home windows on the identical time. To do that, you could 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’d edit the “Goal” subject to learn “C:Program FilesProgram NameProgram.exe -multiple”.
Choice | 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 Subject
Within the “Shortcut” tab, you’ll discover the “Goal” subject. This subject incorporates 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 subject.
Particular Window Command
To launch this system in a selected window, add a command to the tip of the trail within the “Goal” subject. 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’d add the next command to the tip 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 you have made the mandatory adjustments, click on “OK” to avoid wasting your adjustments. This system will now launch within the specified window the subsequent time it’s run.
Modify the “Goal” Subject
Within the Properties window, you will see a textual content subject labeled “Goal.” This subject incorporates the trail to this system’s executable file. To vary the window on which this system launches, you could 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 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 avoid wasting your adjustments.
For instance, if the unique “Goal” subject incorporates the next path:
Authentic “Goal” subject |
---|
“C:Program FilesMyProgrammyprogram.exe” |
After modifying the sector, it’ll appear to be this:
Modified “Goal” subject |
---|
“C:Program FilesMyProgrammyprogram.exe” -newwindow |
Once you launch this system now, it’ll open in a brand new window as an alternative 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 will likely 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 ingredient” 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 should utilize it to set the specified window identify. 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 identify to “MyWindow”:
“`
driver.set_window_name(“MyWindow”)
“`
After you could have set the specified window identify, this system will open in that window the subsequent time it’s run.
Select the Software You Need to Modify
Step one is to pick out the appliance that has been launching on the flawed window. You are able to do this by clicking on the appliance’s icon within the dock or by opening the Finder and navigating to the appliance’s folder.
Proper-Click on on the Software and Choose “Get Information”
After you have chosen the appliance, right-click on it and choose “Get Information” from the menu that seems.
Click on on the “Common” Tab
Within the “Get Information” window, click on on the “Common” tab. This can show normal details about the appliance, 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 an inventory of purposes which are suitable with the chosen software.
Choose the Desired Software from the Dropdown Menu
From the “Open With” dropdown menu, choose the appliance that you just need to open the chosen software with. This would be the software that can launch on the specified window.
Click on “Change All” to Apply the Setting to All Recordsdata of the Identical Kind
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 save lots of the adjustments, 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. It’s possible you’ll must contact your system administrator for help.
2. Guarantee this system is just not already operating.
If this system is already operating, you won’t be able 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 could battle with the flexibility to vary the window a program launches on. Shut some 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 moderen model of this system. Verify for updates and set up them if out there.
5. Reinstall this system.
If all else fails, you’ll be able to 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 comprise 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 adjustments to your system, you’ll be able to strive performing a system restore. This can revert your system to a earlier state earlier than the difficulty occurred.
8. Contact this system developer.
When 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 are able to give you additional troubleshooting steps or a repair for the difficulty.
Technique | Description |
---|---|
1. Confirm permissions | Guarantee you could 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 some other packages that will intervene 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 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 permit you to specify which window this system ought to launch on. These switches range relying on this system, so you will must seek the advice of this system’s documentation to search out the particular change you want. Listed below are a couple 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’d sort the next command:
"C:Program Recordsdata (x86)GoogleChromeApplicationchrome.exe" --app=My Window
You can too 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” subject, add the command-line change to the tip of the trail, as proven within the following instance:
"C:Program Recordsdata (x86)GoogleChromeApplicationchrome.exe" --app=My Window
Click on “OK” to avoid wasting your adjustments. Now, while 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] |
Contemplate Third-Occasion Window Managers
If the built-in choices in your working system do not present the pliability you want, think about 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 common 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, think about 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’ll be able to configure it to vary the show settings of particular packages. This usually includes enhancing configuration recordsdata or utilizing graphical interfaces offered by the window supervisor.
Setting Window Guidelines
Most window managers present rule-based techniques that permit you to specify standards for the way home windows needs to be positioned and launched. You may create guidelines primarily based on elements equivalent to this system identify, window measurement, or window class.
Superior Options
Some window managers supply superior options equivalent to customized window layouts, keyboard shortcuts, and automated window placement. These options allow you to optimize your workflow and create a extremely personalised window administration expertise.
Troubleshooting
If you happen to encounter points with window positioning or launching, verify the configuration recordsdata of your window supervisor and working system. You can too 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 pc’s settings, you’ll be able to change the default window for all packages.
Extra suggestions
- If unable to vary this setting in this system, strive 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 “Record 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.