Differences
This shows you the differences between the selected revisions of the page.
| extension_generate_http_url 2018-11-05 | extension_generate_http_url 2020-09-22 (current) | ||
| Line 10: | Line 10: | ||
| <code powershell - GenerateHttpUrl.ps1> | <code powershell - GenerateHttpUrl.ps1> | ||
| # @name Generate &HTTP URL | # @name Generate &HTTP URL | ||
| - | # @command powershell.exe -ExecutionPolicy Bypass -STA -NoProfile -File "%EXTENSION_PATH%" -webRoot "%WebRoot%" -rootPath "%RootPath%" -hostName "%HostName%" -serverName "!@" -path "!/" %Https% %Pause% %Clipboard% %Open% !& | + | # @command powershell.exe -ExecutionPolicy Bypass -STA -NoProfile ^ |
| + | # -File "%EXTENSION_PATH%" -webRoot "%WebRoot%" -rootPath "%RootPath%" ^ | ||
| + | # -hostName "%HostName%" -serverName "!@" -path "!/" %Https% %Pause% ^ | ||
| + | # %Clipboard% %Open% !& | ||
| # @description Generates HTTP URL of the selected file | # @description Generates HTTP URL of the selected file | ||
| # @flag RemoteFiles | # @flag RemoteFiles | ||
| # @flag ShowResultsInMsgBox | # @flag ShowResultsInMsgBox | ||
| - | # @version 4 | + | # @version 5 |
| # @homepage ~~SELF~~ | # @homepage ~~SELF~~ | ||
| - | # @require WinSCP 5.10 | + | # @require WinSCP 5.12 |
| # @option - -site group "URL" | # @option - -site group "URL" | ||
| # @option - -site label "These options are site-specific." | # @option - -site label "These options are site-specific." | ||
| Line 131: | Line 134: | ||
| </code> | </code> | ||
| - | ===== Options ===== | + | ===== [[options]] Options ===== |
| &screenshotpict(extension_generate_http_url) | &screenshotpict(extension_generate_http_url) | ||
| Line 155: | Line 158: | ||
| Check the //Open %%URL%% in web browser// to open the generated URL in your web browser. | Check the //Open %%URL%% in web browser// to open the generated URL in your web browser. | ||
| - | In the //Keyboard shortcut//, you can specify a [[custom_key_shortcuts|keyboard shortcut]] for the extension. &beta_feature | + | In the //Keyboard shortcut//, you can specify a [[custom_key_shortcuts|keyboard shortcut]] for the extension. |
| ~~NOTOC~~ | ~~NOTOC~~ | ||