Provides functionality to start a web browser from an action with profile information.
To use this module, make sure it is enabled in RepoM by opening the menu and navigate to 'Plugins'. After enabling or disabling a plugin, you should restart RepoM.
This plugin has specific configuration stored in the following directory %APPDATA%/RepoM/Module/
. This configuration file should be edit manually. The safest way to do this is, is when RepoM is not running.
The following default configuration is used:
{
"Version": 1,
"Settings": {
"Browsers": null,
"Profiles": null
}
}
Example configuration:
{
"Version": 1,
"Settings": {
"Browsers": {
"Edge": "C:\\PathTo\\msedge.exe",
"FireFox": "C:\\PathTo\\Mozilla\\firefox.exe"
},
"Profiles": {
"Work": {
"BrowserName": "Edge",
"CommandLineArguments": "\"--profile-directory=Profile 4\" {url}"
},
"Incognito": {
"BrowserName": "Edge",
"CommandLineArguments": "-inprivate"
},
"Incognito2": {
"BrowserName": "FireFox",
"CommandLineArguments": "-inprivate {url}"
}
}
}
}
Browsers
: Dictionary of known browsers and their path to use for opening urls.Profiles
: Profiles to use.
This module contains the following methods, variables and/or constants:
Action opening a webbrowser with the provided url.
Properties:
name
: Name of the menu item. (Text)url
: The url to browse to. (Text)profile
: profile name used to select browser and browser profile (Text)context
: The context in which the action is available. (Context)active
: Whether the menu item is enabled. (Predicate)
- type: browser@1
name: My Github
url: https://github.com/coenm
profile: '{{ my_profile }}'
active: true