#204068 - 2012-01-13 05:24 PM
Replacing text in Outlook Signature
|
sparkie
Getting the hang of it
Registered: 2010-09-14
Posts: 92
Loc: UK
|
I've been playing around with the Outlook Signature in the vault to pull in the AD Telephone Number. Is there any way to change it to International using code.
E.g. 01111 111111 to +44 1111 111111
Thanks
|
|
Top
|
|
|
|
#204069 - 2012-01-13 06:59 PM
Re: Replacing text in Outlook Signature
[Re: sparkie]
|
ShaneEP
MM club member
   
Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
|
Not sure where you're wanting to change it.
if left($str,1) = "0"
$str = "+44 "+Right($str,-1)
endif ?
|
|
Top
|
|
|
|
#204080 - 2012-01-17 01:04 PM
Re: Replacing text in Outlook Signature
[Re: Mart]
|
sparkie
Getting the hang of it
Registered: 2010-09-14
Posts: 92
Loc: UK
|
Cheers Shane, I'll have a look at that.
Hear what you're saying Mart, but we've decided to go for a UK and an International signature so it makes more work for me.
|
|
Top
|
|
|
|
#204084 - 2012-01-17 04:31 PM
Re: Replacing text in Outlook Signature
[Re: Glenn Barnas]
|
sparkie
Getting the hang of it
Registered: 2010-09-14
Posts: 92
Loc: UK
|
Thanks Glenn,
I did look at the Vault script, also been looking at a vB script and although we've gone for calling a vB from a kix login, i'm still looking at other options.
Since it might not always be myself that needs to modify, I'm still evaluating other types and what can be acheived.
Mark
|
|
Top
|
|
|
|
#204261 - 2012-02-10 11:47 AM
Re: Replacing text in Outlook Signature
[Re: Glenn Barnas]
|
sparkie
Getting the hang of it
Registered: 2010-09-14
Posts: 92
Loc: UK
|
Ok, back on this. I've been looking at the replace string and wondering if I can use it to amend the number pulled in by $strphone.
$master = 01111 $new = +44 1111
$replace $master with $new
Then plant new into signature using objselection
|
|
Top
|
|
|
|
#204266 - 2012-02-10 02:39 PM
Re: Replacing text in Outlook Signature
[Re: Mart]
|
sparkie
Getting the hang of it
Registered: 2010-09-14
Posts: 92
Loc: UK
|
It was really that simple, I'm going home.
|
|
Top
|
|
|
|
#204271 - 2012-02-10 03:46 PM
Re: Replacing text in Outlook Signature
[Re: Mart]
|
sparkie
Getting the hang of it
Registered: 2010-09-14
Posts: 92
Loc: UK
|
Btw, we just experienced 4.62 locking as a process somehow and it was stopping AD Profile home folder mapping from applying.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2312 anonymous users online.
|
|
|