Differences
This shows you the differences between the selected revisions of the page.
2015-01-27 | 2015-01-27 | ||
requires beta (martin) | consistent reference to session url (martin) | ||
Line 56: | Line 56: | ||
==== Passing Session Settings ==== | ==== Passing Session Settings ==== | ||
- | As mentioned above use a custom command pattern ''!S'' to pass the current session settings to the script. In the script, use ''[[library_sessionoptions_parseurl|SessionOption.ParseUrl]]'' to parse the URL. | + | As mentioned above use a custom command pattern ''!S'' to pass the current session settings in a form of a session URL to the script. In the script, use ''[[library_sessionoptions_parseurl|SessionOption.ParseUrl]]'' to parse the %%URL%%. |
<code powershell> | <code powershell> | ||
Line 73: | Line 73: | ||
</code> | </code> | ||
- | Use ''!S'' pattern in the custom command to feed the session URL to ''session'' parameter: | + | Use ''!S'' pattern in the custom command to feed the session %%URL%% to ''session'' parameter: |
<code batch> | <code batch> | ||
Line 114: | Line 114: | ||
==== Passing Session Settings ==== | ==== Passing Session Settings ==== | ||
- | As mentioned above use a custom command pattern ''!S'' to pass the current session settings in form of session URL to the script. In the script, pass the URL to ''[[scriptcommand_open|open]]'' command. | + | As mentioned above use a custom command pattern ''!S'' to pass the current session settings in a form of a session URL to the script. In the script, pass the %%URL%% to ''[[scriptcommand_open|open]]'' command. |
<code winscp> | <code winscp> | ||
Line 120: | Line 120: | ||
</code> | </code> | ||
- | Use ''!S'' pattern in the custom command to feed the session URL to script parameter: | + | Use ''!S'' pattern in the custom command to feed the session %%URL%% to a script parameter: |
<code batch> | <code batch> |