From 9bb1118cd5c48ee3cbb5fe414604c071b13099aa Mon Sep 17 00:00:00 2001 From: Yoshify Date: Fri, 2 Jun 2023 13:42:26 +1000 Subject: [PATCH 01/11] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dd0bfd0..4dd34eb 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,9 @@ TED supports the following switches: - `-ls` or `-linespacing`: Space between text lines in pixels. Default is **8**. - `-hp` or `-hpad`: Horizontal padding amount in pixels. Default is **10**. - `-vp` or `-vpad`: Vertical padding amount in pixels. Default is **10**. +- `-w` or `-width`: The width of the image when drawn, in pixels. By default this is **-1**. + - A value of -1 disables fixed width scaling and instead uses automatic image scaling to resize (respecting aspect ratio) the image to the size of the longest line of text. +- `-a` or `-align`: How the text should be aligned. Default is **Left**. Accepted values are **Left**, **Center** or **Right**. Not case-sensitive. - `-line`: The text to be drawn. This switch can be repeated multiple times to draw multiple lines of text. It can contain special tokens: `@os`, `@userName`, and `@machineName`. These tokens get substituted at runtime with system values for the operating system, current user, and machine name. - If no lines are provided, it will render with the following by default: - "USERNAME: @userName" @@ -58,8 +61,6 @@ Example usage: ted -di path/to/dark_image.png -li path/to/light_image.png -f Arial -fs 14 -ls 5 -hp 10 -vp 10 -line "Hello, @userName!" -line "You are using @os on @machineName." ``` -Images are resized (with maintaining their aspect ratio in mind) to fit the width of your longest line. - In terms of real world usage, we've found this to be a fantastic tool for helping clients quickly identify key information about their machine whilst on the phone with them. ## Adding Tokens From 4ef610b802dba02978d66fa06d4614b5c8396dea Mon Sep 17 00:00:00 2001 From: Yoshify Date: Fri, 2 Jun 2023 13:42:48 +1000 Subject: [PATCH 02/11] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 4dd34eb..d521fc0 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,7 @@ TED supports the following switches: - `-w` or `-width`: The width of the image when drawn, in pixels. By default this is **-1**. - A value of -1 disables fixed width scaling and instead uses automatic image scaling to resize (respecting aspect ratio) the image to the size of the longest line of text. - `-a` or `-align`: How the text should be aligned. Default is **Left**. Accepted values are **Left**, **Center** or **Right**. Not case-sensitive. -- `-line`: The text to be drawn. This switch can be repeated multiple times to draw multiple lines of text. It can contain special tokens: `@os`, `@userName`, and `@machineName`. These tokens get substituted at runtime with system values for the operating system, current user, and machine name. - - If no lines are provided, it will render with the following by default: +- `-line`: The text to be drawn. This switch can be repeated multiple times to draw multiple lines of text. It can contain special tokens: `@os`, `@userName`, and `@machineName`. These tokens get substituted at runtime with system values for the operating system, current user, and machine name. If no lines are provided, it will render with the following by default: - "USERNAME: @userName" - "DEVICE NAME: @machineName" - "OS: @os" From 0dd5e8448e355c4dfacdeb9e21f276eee766c68c Mon Sep 17 00:00:00 2001 From: Yoshify Date: Fri, 2 Jun 2023 13:45:42 +1000 Subject: [PATCH 03/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d521fc0..53d3e81 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ TED is a commandline tool, inspired by the classic [BGInfo](https://learn.micros ## Features - Display images and text on the desktop -- Ability to specify different images based on perceived desktop luminance. +- Ability to specify different images based on perceived desktop luminance. Font color also adjusts between black or white based on perceived desktop luminance. - Substitute system values in the text with special tokens - DPi Aware - Customizable with a variety of commandline switches From 1f18bc7dbf8f19e0a98290d1e6f52549e5990117 Mon Sep 17 00:00:00 2001 From: Yoshify Date: Fri, 2 Jun 2023 13:51:59 +1000 Subject: [PATCH 04/11] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 53d3e81..5a9cd32 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ -[![Health IT Logo](https://healthit.com.au/wp-content/uploads/2019/06/HIT-proper-logo.png)](https://healthit.com.au) +![Health IT Logo](https://healthit.com.au/wp-content/uploads/2019/06/HIT-proper-logo.png)](https://healthit.com.au) # TED (Tag Every Desktop) - a Health IT Project TED is a commandline tool, inspired by the classic [BGInfo](https://learn.microsoft.com/en-us/sysinternals/downloads/bginfo), designed for MSPs to be able to display images and text programmatically on the desktop, positioned above the wallpaper but below the icons. It utilizes the bottom right corner of the primary monitor as the drawing area. +![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1.png)] ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2.png)] + ## Features - Display images and text on the desktop From c1655ae05160ac6a47ea1cf69e1594676f8d752d Mon Sep 17 00:00:00 2001 From: Yoshify Date: Fri, 2 Jun 2023 13:52:18 +1000 Subject: [PATCH 05/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a9cd32..a31ee86 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Health IT Logo](https://healthit.com.au/wp-content/uploads/2019/06/HIT-proper-logo.png)](https://healthit.com.au) +[![Health IT Logo](https://healthit.com.au/wp-content/uploads/2019/06/HIT-proper-logo.png)](https://healthit.com.au) # TED (Tag Every Desktop) - a Health IT Project From cd75ee81efcd137a5f84c1c36debb15de8a414d0 Mon Sep 17 00:00:00 2001 From: Yoshify Date: Fri, 2 Jun 2023 13:52:41 +1000 Subject: [PATCH 06/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a31ee86..44bd608 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ TED is a commandline tool, inspired by the classic [BGInfo](https://learn.microsoft.com/en-us/sysinternals/downloads/bginfo), designed for MSPs to be able to display images and text programmatically on the desktop, positioned above the wallpaper but below the icons. It utilizes the bottom right corner of the primary monitor as the drawing area. -![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1.png)] ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2.png)] +![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1.png) ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2.png) ## Features From 99fff2f6279738290b3791d2dbde63799fcfbb29 Mon Sep 17 00:00:00 2001 From: Yoshify Date: Fri, 2 Jun 2023 13:59:57 +1000 Subject: [PATCH 07/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 44bd608..ae1a932 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ TED is a commandline tool, inspired by the classic [BGInfo](https://learn.microsoft.com/en-us/sysinternals/downloads/bginfo), designed for MSPs to be able to display images and text programmatically on the desktop, positioned above the wallpaper but below the icons. It utilizes the bottom right corner of the primary monitor as the drawing area. -![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1.png) ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2.png) +![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1_res.png) ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2_res.png) ## Features From ae3e48077b098597ebb51e80d6fe8c1be351602e Mon Sep 17 00:00:00 2001 From: Yoshify Date: Fri, 2 Jun 2023 14:01:09 +1000 Subject: [PATCH 08/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ae1a932..44bd608 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ TED is a commandline tool, inspired by the classic [BGInfo](https://learn.microsoft.com/en-us/sysinternals/downloads/bginfo), designed for MSPs to be able to display images and text programmatically on the desktop, positioned above the wallpaper but below the icons. It utilizes the bottom right corner of the primary monitor as the drawing area. -![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1_res.png) ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2_res.png) +![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1.png) ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2.png) ## Features From a6d24b3e2fa52328976f040d993fe0e74741d561 Mon Sep 17 00:00:00 2001 From: Yoshify Date: Fri, 2 Jun 2023 14:02:25 +1000 Subject: [PATCH 09/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 44bd608..ae1a932 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ TED is a commandline tool, inspired by the classic [BGInfo](https://learn.microsoft.com/en-us/sysinternals/downloads/bginfo), designed for MSPs to be able to display images and text programmatically on the desktop, positioned above the wallpaper but below the icons. It utilizes the bottom right corner of the primary monitor as the drawing area. -![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1.png) ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2.png) +![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1_res.png) ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2_res.png) ## Features From 38285859514008851cea32a7b06910182d5a0fda Mon Sep 17 00:00:00 2001 From: Yoshify Date: Fri, 2 Jun 2023 14:04:40 +1000 Subject: [PATCH 10/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ae1a932..c468c66 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ TED is a commandline tool, inspired by the classic [BGInfo](https://learn.microsoft.com/en-us/sysinternals/downloads/bginfo), designed for MSPs to be able to display images and text programmatically on the desktop, positioned above the wallpaper but below the icons. It utilizes the bottom right corner of the primary monitor as the drawing area. -![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1_res.png) ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2_res.png) +![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1_res1.png) ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2_res1.png) ## Features From 64c562b68d50ed98fd4102243fe5719e9af6e551 Mon Sep 17 00:00:00 2001 From: Yoshify Date: Fri, 2 Jun 2023 14:09:48 +1000 Subject: [PATCH 11/11] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c468c66..bd77fe4 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,6 @@ TED is a commandline tool, inspired by the classic [BGInfo](https://learn.microsoft.com/en-us/sysinternals/downloads/bginfo), designed for MSPs to be able to display images and text programmatically on the desktop, positioned above the wallpaper but below the icons. It utilizes the bottom right corner of the primary monitor as the drawing area. -![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1_res1.png) ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2_res1.png) - ## Features - Display images and text on the desktop @@ -64,6 +62,10 @@ ted -di path/to/dark_image.png -li path/to/light_image.png -f Arial -fs 14 -ls 5 In terms of real world usage, we've found this to be a fantastic tool for helping clients quickly identify key information about their machine whilst on the phone with them. +## Examples + +![TED Screenshot 1]( https://healthit.com.au/TEDScreenshot1_res1.png) ![TED Screenshot 2]( https://healthit.com.au/TEDScreenshot2_res1.png) + ## Adding Tokens Adding Tokens to the text system is simple, but will require editing the source and compiling your own binary.