topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday June 26, 2022, 3:39 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: [IDEA] Display the weather in the command line (Weather forcast to text)  (Read 4702 times)

user45454

  • Participant
  • Joined in 2010
  • *
  • Posts: 21
    • View Profile
    • Donate to Member

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)

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

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 510
  • Call me Vic!
    • View Profile
    • PublicDomain.is
    • Read more about this member.
    • Donate to Member
Im thinking it should look the same in text as it does in comand prompt. Just redirecting the output.

Got it! Next version contains it :up:
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 510
  • Call me Vic!
    • View Profile
    • PublicDomain.is
    • Read more about this member.
    • Donate to Member
Hello! WeatherToText v0.6.0 released:


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
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

user45454

  • Participant
  • Joined in 2010
  • *
  • Posts: 21
    • View Profile
    • Donate to Member
Hello! WeatherToText v0.6.0 released:


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)

Works great! :up: