3D Clipboard

A place to discuss 3D Clipboard

Search found 6 matches

Go to advanced search

by Jesse
Thu Aug 29, 2013 11:14 pm
Forum: Actions
Topic: Mac address: no punctuation, uppercase (VBscript)
Replies: 0
Views: 12595

Mac address: no punctuation, uppercase (VBscript)

Set s_reTrimWS = New RegExp
s_reTrimWS.Pattern = "[^0-9a-fA-F]"
s_reTrimWS.Global = True

Clipboard.Value = s_reTrimWS.Replace( UCase(Clipboard.Value), "" )
by Jesse
Thu Jul 26, 2012 2:24 am
Forum: Actions
Topic: Phone: 123-456-7890
Replies: 0
Views: 26363

Phone: 123-456-7890

Most places in north america need phone numbers formatted this way Set s_reTrimWS = New RegExp s_reTrimWS.Pattern = "[^0-9]" s_reTrimWS.Global = True Clipboard.Value = s_reTrimWS.Replace( Clipboard.Value, "" ) If(Len(Clipboard.Value) = 7) Then Clipboard.Value = "541" &a...
by Jesse
Wed Jul 27, 2011 8:59 pm
Forum: Actions
Topic: WHITESPACE - trim
Replies: 0
Views: 11672

WHITESPACE - trim

Code: Select all

Set s_reTrimWS = New RegExp
s_reTrimWS.Pattern = "^\s+|\s+$"
s_reTrimWS.Global  = True
 
Clipboard.Value = s_reTrimWS.Replace( Clipboard.Value, "" )
by Jesse
Wed Jul 27, 2011 8:57 pm
Forum: Actions
Topic: MAC - Cisco
Replies: 0
Views: 11896

MAC - Cisco

Format any input mac address (collection of 12 hex digits ignoring any non-hex-digits as if they were messy punctuation) in lowercase dotted 4's the way Cisco gear likes it: Set s_reTrimWS = New RegExp s_reTrimWS.Pattern = "[^0-9a-f]" s_reTrimWS.Global  = True   Clipboard.Value = s_reTrimW...
by Jesse
Wed Jul 27, 2011 8:56 pm
Forum: Actions
Topic: CASE - lower
Replies: 0
Views: 11758

CASE - lower

Lowercase the current clipboard item, in VBscript:

Code: Select all

Clipboard.Value = LCase(Clipboard.Value)
of course, uppercase is the same story:

Code: Select all

Clipboard.Value = UCase(Clipboard.Value)
by Jesse
Wed Jul 27, 2011 8:53 pm
Forum: Feature Requests
Topic: [ADDED in 1.5] Sticky Items
Replies: 3
Views: 14842

Re: Sticky Items

Hooray for pushpin icon to pin or unpin items into the menu! :D

Go to advanced search

 

 

cron