Re: Start specific profile depend on URI

2015-10-14 Thread MFPA
Hi


On Wednesday 14 October 2015 at 2:39:00 PM, in
, Petr Laznovsky wrote:




> One more question:

> OS send to application 'protocol_name:value' in %1,
> thus this whole string appears in 'Recipient' field of
> mail editor. Is it possible programatically (on the
> fly) parse such string to only part after semicolon is
> putted into RCPT field?


I would think you also wanted to remove the two slashes after the 
colon. (-;

Feeding your favourite search engine with terms like "DOS String
Split" (maybe replace "split" with "edit" or "manipluation") should
give you something you can work with. Something like cut the first "X"
characters, or replace the substring "protocol_name://" with an empty
string.

Alternatively, you could perhaps edit the To field via macros and
RegEx in the message template within TB!.


-- 
Best regards

MFPA  

Dogs look up to us. Cats look down on us. Pigs treat us as equals.

Using The Bat! v4.0.38 on Windows XP 5.1 Build 2600 Service Pack 3 



Current version is 6.6 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Start specific profile depend on URI

2015-10-14 Thread Petr Laznovsky

Dne 11.10.2015 v 14:47 MFPA napsal(a):

Hi


On Sunday 11 October 2015 at 10:47:49 AM, in
, Petr Laznovsky wrote:




Solved. EDIT command sould be added into string and if
account name contain space, it must doublequoted in
command string. this could be added to documentation.



Glad you worked it out.

For my version of TB! the Help file does mention the need to use
quotes if a parameter contains spaces:-

Note: If a parameter value contains space characters, enclose
it in quotation marks. If a value contains quotation marks, you
should use single quotes (" ' " characters).




One more question:

OS send to application 'protocol_name:value' in %1, thus this whole string appears in 'Recipient' 
field of mail editor. Is it possible programatically (on the fly) parse such string to only part 
after semicolon is putted into RCPT field?


L.



Current version is 6.6 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html