ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

[IDEA] Display the weather in the command line (Weather forcast to text)

<< < (6/6)

user45454:

Yup.  Do you want it timestamped or "fixed"? (i.e. Weather2Text.txt all the time or formatted like: YYYY-MM-DD-HH-MM-SS.txt)-publicdomain (January 23, 2022, 06:34 PM)
--- End quote ---

Im not sure that I understand.
Im thinking it should look the same in text as it does in comand prompt. Just redirecting the output. (colors choise would be ignored ofcourse)
Like I can do with "dir > Output-File.txt" for example.

But if i run WeatherToText.exe https://www.klart.se/se/södermanlands-län/väder-alberga/timmar/  > Weather.txt
The text file Weather.txt just contains "Error: The handle is invalid."  :o

 ;D

publicdomain:
Im thinking it should look the same in text as it does in comand prompt. Just redirecting the output.
-user45454 (January 24, 2022, 11:36 AM)
--- End quote ---

Got it! Next version contains it :up:

publicdomain:
Hello! WeatherToText v0.6.0 released:


* ⬇️ Download @ DCmembers.com (Mouser's site)
* ⬇️ Download @ GitHub
It has a new /O:<filename> argument.

Example:

c:\WeatherToText.exe https://www.klart.se/se/södermanlands-län/väder-alberga/timmar/ yellow /N /T 1900 /O:Weather.txt

Using /O:Weather.txt writes parsed output to the "Weather.txt" file.

Enjoy!
:Thmbsup:
Vic

user45454:
Hello! WeatherToText v0.6.0 released:


* ⬇️ Download @ DCmembers.com (Mouser's site)
* ⬇️ Download @ GitHub
It has a new /O:<filename> argument.

Example:

c:\WeatherToText.exe https://www.klart.se/se/södermanlands-län/väder-alberga/timmar/ yellow /N /T 1900 /O:Weather.txt

Using /O:Weather.txt writes parsed output to the "Weather.txt" file.

Enjoy!
:Thmbsup:
Vic
-publicdomain (March 13, 2022, 10:44 AM)
--- End quote ---

Works great! :up:

Navigation

[0] Message Index

[*] Previous page

Go to full version