Announcement

Collapse
No announcement yet.

Check if date is a holiday

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Here are the 2 things I tried.
    The one like the image above and the "Copy" one I tried to integrate part of the old bjd-read calendar script.

    Thanks,
    Tim
    Attached Files
    FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

    HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

    No, Im from Iowa. I only work in outer space. Captain Kirk

    Comment


    • I am using Jon00's HTML2Img script to capture the cal.asp page from HS3.
      I have tried editing the cal.css and cal2.css files with no luck.
      When the screen is captured it shows white lines between each date box and looks funny in HSTouch, because my backgrounds are black.
      In the HS3 browser the white lines are not there.
      Any ideas?

      Thanks,
      Tim
      Attached Files
      Last edited by fungun; October 4th, 2017, 07:35 PM.
      FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

      HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

      No, Im from Iowa. I only work in outer space. Captain Kirk

      Comment


      • Here it is in HS3.

        Thanks,
        Tim
        Attached Files
        FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

        HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

        No, Im from Iowa. I only work in outer space. Captain Kirk

        Comment


        • Anyone?

          Thanks,
          Tim
          FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

          HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

          No, Im from Iowa. I only work in outer space. Captain Kirk

          Comment


          • Is anyone having trouble with the month of December rendering in the HS3 web page?
            I just get a bunch of code. Then i scrolled down alittle, got the first 10 days showing, then just a bunch of code again.
            I went to the "Next Month", "Previous Month" buttons and they look fine.
            Just December is messed up.

            Thanks,
            Tim
            FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

            HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

            No, Im from Iowa. I only work in outer space. Captain Kirk

            Comment


            • At the top of the page it says - Script error: Type mismatch: 'CBool'
              Just tried "Previous year" and "Next Year" buttons they do the same thing, but only for December.

              Thanks,
              Tim
              FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

              HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

              No, Im from Iowa. I only work in outer space. Captain Kirk

              Comment


              • Fixed it.
                Went through the files a dozen times.
                It was a bad entry in the "isholiday.ini" file.

                Tim
                FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

                HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

                No, Im from Iowa. I only work in outer space. Captain Kirk

                Comment


                • Problem with Object reference

                  Hi!

                  Having a severe cold which keeps me from paid work I can spend time to fix one thing I have wanted for a long time - exceptions for holidays in events! I tried creating my own scripts earlier without success but now found Sparkmans scripts that looks to be exactly what I need.

                  I have
                  * extracted files and putted them in place in the HS directory structure
                  * edited isholiday.ini to hold swedish holidays and with swedish names for weekdays and months

                  Unfortunately I get an error (or rather "warning") when I trigger isholidaytoday.vb;

                  Warning - VB.Net script exception(0), re-starting: Objektreferensen har inte angetts till en instans av ett objekt
                  (translated to English: Object reference not set to an instance of an object)

                  Are there an easy explanation - did I miss something else I need to do - maybe some virtual devices need to be created first? Or is it possible to force a more detailed error output?

                  Regards
                  Fredrik
                  Last edited by FredrikKan; April 3rd, 2018, 11:54 AM.

                  Comment


                  • Originally posted by sparkman View Post
                    Hi Jim, I'm not sure as I've never tested it on linux or heard from others whether it works. I'll check the code tonight to see if there's anything that would prevent it from running on linux. I'm not sure if the asp web pages are supported under linux. Maybe give it a try and let me know what, if any, errors you get.

                    Cheers
                    Al
                    Hi Al,

                    I hate to bring up such an old thread, but I've been struggling to get this to run on the HS3Pi (Linux). I have your 5.0 VB code running just fine on Windows but the Pi doesn't seem to like some fundamentals such as "Includes" and "FileSystemObject". Did you ever have a chance to get this working on Linux?

                    TIA,

                    Mitch
                    http://www.midondesign.com

                    Comment

                    Working...
                    X