TBPajsMacro
TBPajsMacro Plug-In for The-Bat!
Version 0.6.5.12
---------------------------

Contact & credits
-----------------
Author : Andrew J.Swan aka ajs.
email  : ssoft@bigfoot.com
HP     : http://ajs.pisem.net/

Macros
---------------------------
%SWATCH(RFCDate)
 Convert "RFCDate" to swatch date aka internet date.
 More info about Swatch time: http://www.swatch.com/internettime/home.php
 Usage:
   %SWATCH()          - Current Swatch time.
   %SWATCH(%OHDRDate) - Recipient Swatch time.

---------------------------
%SYSINFO(Patern)
 Return system information (uptime, windows version, cpu)
 Patern:
  #wn  : Windows name (98|2000|XP)
  #wai : Windows additional info (Home Edition|Professional|Server)
  #wsi : Windows short additional info (HE|Pro|AS|Server)
  #wma : Windows major version
  #wmi : Windows minor version
  #wbd : Windows build
  #was : Windows Service Pack Info
  #wcn : Windows Codename

  #ud  : UpTime days
  #uh  : UpTime hour
  #um  : Uptime minutes
  #us  : UpTime seconds

  #cn  : CPU Number
  #cjn : CPU Joke Number
  #cpm : CPU Manufactured (Intel|AMD|Transmeta)
  #cpn : CPU Name (Pentium|Duron)
  #ccd : CPU Code Name (Willamette|Notrthwood)
  #cin : Internal CPU Name String.
  #cs  : CPU Speed (Pentium rating).
  #cfs : CPU series for Pentium/Celeron 4 and later (620|870|955).

  #hfc : Count of installed hotfix.
  #hfl : List of installed hotfix.

  #id[f] : Windows install date.
           Where f is output flag format:
           f - 01/01/2001, 10:10:10 (Default)
           s - 01.01.01 10:10:10
           l - Depend from locale.
           o - 01/01/2001
  #lt : Windows LifeTime.

 Usage:
   %SYSINFO() - Windows 98 SE/4.10 build 2222 A (10 days 10:01:34) on Uno Intell Pentium
   %SYSINFO("M$ Win #wn #wai/#wma.#wmi build #wbd #was on #cn/#cpm #cpn") - M$ Win 98 SE/4.10 build 2222 A on 1/Intell Pentium
   %SYSINFO("M$ Windows #wn #wai/#wma.#wmi #was (build #wbd) on #cjn/#cpn (#ccd)") - M$ Windows XP Pro/5.1 Service Pack 1 (build 2600) on Dual/Pentium 4 (Willamette)

---------------------------
%PVER(ProgramFullPath,Patern)
 Return file version.
 Pattern:
  #vma - Program major version
  #vmi - Program minor version
  #vad - Program additional version
  #vbd - Program build

  Extended:
  #vecn - CompanyName*
  #vefd - FileDescription*
  #vefv - FileVersion    
  #vein - InternalName   
  #velc - LegalCopyright* 
  #velt - LegalTradeMarks*
  #veof - OriginalFilename*
  #vepn - ProductName
  #vepv - ProductVersion
  #vecm - Comment*

  * - not tested 8o( may be not work
 Usage:
   %PVER("FullPath\Far.exe","Far #vma.#vmi/#vad-#vbd") - Far 1.70/4-1282
   %PVER("FullPath\Far.exe","Far #vefv") - Far 1.70 beta 4 build 1282
   %PVER("FullPath\RegetDX.exe","#vma.#vmi (build #vbd)") - 3.2 (build 156)

---------------------------
%FIDO(%OFromAddr)
 Return FTN (z:n/a.p) or original e-mail.
 Usage:
   %FIDO(%OFromAddr) - for mail@mail.com return mail@mail.com
                     - for Name@p01.f02.n03.z4.fidonet.org  return 4:3/2.1

---------------------------
%CITY(Address)
 Return city name for FidoNet node/point number or e-mail adress.
 Usage:
   %CITY(%FIDO(%OFromAddr))
 
 * For service capability is necessary TBPajsMacro.ini containing paths to 
 libraries of files of cities.

 Format of TBPajsMacro.ini:
   [Files]
   File1=drive:\fullpath\file1.ini
   ...
   FileN=drive:\fullpath\fileN.ini

 Format of FileX.ini (fido example):
   [City]
   1:379=North America
   ...
   2:50/128=FIDO-Inet Gate/Russia
   2:5020/128=FIDO-Inet Gate/Moscow
   2:5020/400=FIDO-Inet Gate/Moscow
   2:5025/128=FIDO-Inet Gate/Voronezh

 Format of FileX.ini (e-mail example):
   [City]
   aero=Air-Transport ; domain is reserved for members of the air-transport industry and is sponsored by Societe Internationale de Telecommunications Aeronautiques (SITA). 
   biz=Businesses ; domain is restricted to businesses and is operated by NeuLevel, Inc. 
   com=Comerce ; domain is operated by VeriSign Global Registry Services. 
   coop=cooperative ; domain is reserved for cooperative associations and is sponsored by Dot Cooperation LLC. 
   info=Info ; domain is operated by Afilias Limited. 
   ...
   ukrpost.net=Kyiv/Ukraine

 Ini files download: http://ajs.pisem.net/files/misc/ucity-ini-files.zip

 Note: Max Ini file size 100Kb

---------------------------
%AJSMACROVERSION
  Return version of ajs Macro plugin.

Usage:
 %ajsMacroVersion  - ajs Macro v0.6/5.11

History
-------
v0.6.5.12
---------
SysInfo: Add: Pentium support:
              - Prescott     series 5x0,  5x1,  5x5,  5x6, 5x7, 519K
                                    5x0J, 5x5J, 5x7J, 5x9J
              - Prescott 2M  series 6x0, 6x2
              - Cedar Mill   series 6x1, 6x3
              - Smithfield   series 8x0
              - Presler      series 9x0
              - Extreme Edition
                *            series 840, 955
              - Mobile 
                * Pentium 4  series 5xx
                * Pentium D  series 7x0, 7x5
              Celeron support:
              - Shelton
              - Prescott-256 series 3x0, 3x5
              - Prescott-V   series 3x1, 3x6
              - Cedar Mill
              - 3xxJ series
              - Mobile 
                * Celeron    series 3x0, 3x0J
              Intel Core Solo/Dual (Yonah) support. series T1xxx, T2xxx

              AMD support:
              - Sempron            - Paris
                                   - Palermo
              - Athlon             - Argon
              - Athlon 64          - Clawhammer
                                   - Newcastle
                                   - Whinchester
                                   - Venice
              - Turion 64          - Lancaster
              - Mobile Athlon 4    - Corvette
              - Mobile Duron       - Camaro
              - Mobile Athlon XP-M
              - Mobile Sempron     - Sonora
                                   - Georgetown
              - Mobile Athlon 64   - Oakville
                                   - Odessa
                                   - Clawhammer 
                                   - Newark
              - Opteron            - Troy
                                   - Venus
                                   - Egypt
                                   - Italy
                                   - Denmark
              - Athlon 64 X2       - Toledo
                                   - Mahchester

              Via support: 
              - C3-M - Antaur
              - C7   - Esther
              - C7-M - Esther

              Transmeta support:
              - Crusoe   TM3120, TM5500, TM5700, TM5900
              - Efficeon TM8800, TM8820

              Microsoft Windows Vista support.

              #cfs parameter, return cpu series (620|870|955|2200+)
              #lt  parameter, return windows lifetime. (1 years, 251 days, 4 hours, 38 minutes, 15 seconds)

         Fix: Windows installation time.
              Windows HotFix determine...

v0.6.5.11
---------
Common:  Add: %ajsMacroVersion - Return version of ajs Macro plugin.

SysInfo: Add: Pentium M processor model D (90nm) support.
              Pentium M & Celeron M & Moblie Celeron support.
              AMD Sempron support.
              Intel Celeron D support.
         Fix: Intel Pentium 4 EE Codename

v0.6.5.10
---------
City: Fix: Speed up searching.
           On Pentium-133Mhz (Ini files: 3 City count: 3593):
           1:       2:550/180 - Kiev/Ukraine           Searching: 00:00:02.203 (Load)
           2:       2:5015/10 - Nizhny Novgorod/Russia Searching: 00:00:00.199
           3:       2:238/222 - Aarhus/Denmark         Searching: 00:00:00.050
           4:       2:238/223 - Continental/Denmark    Searching: 00:00:00.130
           5: unknown@mail.lu - Luxembourg             Searching: 00:00:00.392
           6: unknown@kiev.ua - Kyiv/Ukraine           Searching: 00:00:00.220

SysInfo: Add: UMC U486DX2, U486SX2 support.
              NexGen Nx686 support.
              Transmeta Efficeon TM8600, TM8300, TM8620 support.
              Alpha 21264 support. Alpha Codename.
              AMD Mobile Ahlon XP (Dublin) support.
              AMD Athlon 64 FX (San Diego) support.
              Windows 95 Service Pack support.
              Windows 98 SE Service Pack 1 (Unofficial) support.
         Fix: AMD Opteron Codename.
              L2 Cache determine for Athlon Thunderbird.
              AMD Athlon XP/MP (Thorton/Barton) support (6Ax).
              Pentium II (Deschutes) determine.

v0.6.5.9
---------
SysInfo: Add: AMD Opteron EE, Opteron HE support.
              National Semiconductor Geode GX1/GX2 support.
              SiS processor support.
              NexGen Nx586 support.
              Intel Xeon MP (Potomac), Intel Xeon (Nocona) support.
              MIPS, MIPS R4000, 
              Alpha, Alpha 21064, Alpha 21066, Alpha 21164,
              PowerPC, PowerPC 601, PowerPC 603, PowerPC 604, 
              PowerPC 603+, PowerPC 604+, PowerPC 620 support.
         Fix: Transmeta Efficeon (Astro) support.
              Multiprocessor support.

v0.6.5.8
---------
SysInfo: Fix: CPU Speed determine.
              Windows install date, minute display. 
              Windows Terminal server detect.
         Del: #cas : Approximate and not always correct CPU Speed (Alternative).
         Add: Windows XP Media Center & Tablet PC support.

v0.6.5.7
---------
SysInfo: Add: Pentium 4 (Extreme Edition)
              Pentium III Xeon (Cascades)
              Celeron M (Banias) 
              Pentium M (Dothan)
              Celeron M (Dothan)
              Xeon MP (Gallatin)
              Pentium 4 (Prescott)
              Celeron (Prescott)
              Transmeta Efficeon (Astro)
         Fix: Intel cache size determine
              Amd Opteron & Athlon 64 support

Home · Main · Fidolook · slrn · The-Bat! · Talisman · Icons · Programs · About · e-mail
Copyright © 1998-2004 by Andrew J.Swan