The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make Autotext timestamp better?
#1
Hi, I use an Autotext command to put a timestamp in the text I am working with. It works super. However when I am next to characters and not one space away it will not work. For example Taskts01 (that should of produced “Task1909031438”) will not work, but Task ts01 (it will produce Task 1909031442) does work. How could I make it where It works anywhere next to other text? Thanks


code for Autotext:

Code:
Copy      Help
Autotext [b]Autotext[/b] [help1][/help1]
Trigger [b]$t[/b] [help2][/help2]
[code]/b/i/c
ts01 :mac "MainTS"
ts02 :mac "BasicTS"
[/code]
code for Timestamp:
Code:
Copy      Help
Macro [b]MainTS[/b] [help1][/help1]
[code]DateTime t.FromComputerTime
str sf=t.ToStrFormat("{yyMMdd}{HHmm}")
key (sf)
[/code]


Messages In This Thread
Make Autotext timestamp better? - by pctechtv - 09-03-2019, 06:49 PM
RE: Make Autotext timestamp better? - by Kevin - 09-03-2019, 10:59 PM
RE: Make Autotext timestamp better? - by pctechtv - 09-03-2019, 11:46 PM
RE: Make Autotext timestamp better? - by Kevin - 09-04-2019, 12:07 AM
RE: Make Autotext timestamp better? - by pctechtv - 09-04-2019, 12:15 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)