Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Sync System Clock with External Time Server


  • Please log in to reply
19 replies to this topic
T_Lube
  • Members
  • 640 posts
  • Last active: Sep 09 2016 02:19 AM
  • Joined: 16 Oct 2014

What happens if you try the script I posted @ 2:35?



scriptor
  • Members
  • 668 posts
  • Last active: Feb 15 2016 01:02 AM
  • Joined: 20 Jun 2013

i get this error message:

 

 

 

 

Error at line 33.
 
Line Text: ieMethWait(Method, Arg="")
Error: Functions cannot contain functions.
 
The program will exit.
 
 
I think I managed to getting around that earlier by making it
 
ie.MethWait(Method, Arg="")
 
(I inserted the . between ie and Meth) but then I ran into a few other problems after that 


T_Lube
  • Members
  • 640 posts
  • Last active: Sep 09 2016 02:19 AM
  • Joined: 16 Oct 2014

So there was an added open curly brace that threw the whole thing off. Try copying it and running it again (I edited the original post where I put the code)



scriptor
  • Members
  • 668 posts
  • Last active: Feb 15 2016 01:02 AM
  • Joined: 20 Jun 2013

It works- perfect!! The AM/PM are accurate now as well- thanks again on that!!! (I had to insert a close bracket     )   after both instances of   (oTime[1]   because it appears they were missing. but now it seems to work exactly as planned. I'll use this script instead :) 



T_Lube
  • Members
  • 640 posts
  • Last active: Sep 09 2016 02:19 AM
  • Joined: 16 Oct 2014

Good catch!. I hope all works out for you on that. Sometimes I forget the simple things that Sublime remembers, on my other desktop of course. I made the needed edits for any user looking to solve the problem later, so it work perfectly now.