User defined session properties for custom commands

Advertisement

alerosmile
Donor
Joined:
Posts:
5

User defined session properties for custom commands

There are several patterns available (!U, !P) which can be used for custom commands. Is there any way to pass values of arbitrary properties defined in a session to the command?
I have a command which must behave differently depending on the session.

One way to implement this would be to add a properties section to the 'Advanced Site Settings' dialog. These properties can then be referenced in a custom command by a pattern like !'<property name>'.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: User defined session properties for custom commands

No there's no such option. Cannot you use the hostname or session name in your script to decide on the parameters?

Reply with quote

alerosmile
Donor

Re: User defined session properties for custom commands

Using the host name is no option for me and using the session name is an option for simple cases only.
This might be a valuable extension to the custom command and would make them even more versatile than they already are.

Reply with quote

Advertisement

You can post new topics in this forum