Jump to content

Recommended Posts

Posted

Please help me to create script for "Set my date and time to current from server internet"

exam : my PC fake date is 15/01/2015 but current time is today i want to script autoit to set my pc date from sever intenet help me please Thank.

  • Moderators
Posted

SundayXsniger,

I too would like an answer as to why you need a "fake date" for your machine.

And as it apparently needs saying every single time: please will nobody else post until I get a satisfactory answer.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted
1 minute ago, Melba23 said:

SundayXsniger,

I too would like an answer as to why you need a "fake date" for your machine.

And as it apparently needs saying every single time: please will nobody else post until I get a satisfactory answer.

M23

I do not want the fake. But like the script for. The days false Or that do not meet the current date. Using scripts via Autoit.

  • Moderators
Posted

SundayXsniger,

Other than when I manually change the date to test some date-related code or on the odd occasion when I need to reinstall an OS, I have never found my machine's date to be in error - and in those cases I do not need a script to change it back as it is a once-off event. Why do you feel the need to automate what is such a simple task?

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted
8 minutes ago, Melba23 said:

SundayXsniger,

Other than when I manually change the date to test some date-related code or on the odd occasion when I need to reinstall an OS, I have never found my machine's date to be in error - and in those cases I do not need a script to change it back as it is a once-off event. Why do you feel the need to automate what is such a simple task?

M23

I can change it manually. But I want to try the program to change it. Thank Bro.

  • Developers
Posted

Again WHY? When the OS has the build in ability to sync the date against timeservers on the internet to keep it is sync, there is no need to mickey mouse around with an external script unless you want to mess with the date.
So how about telling us what it is you really need to do?

Jos 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted
1 minute ago, Jos said:

Again WHY? When the OS has the build in ability to sync the date against timeservers on the internet to keep it is sync, there is no need to mickey mouse around with an external script unless you want to mess with the date.
So how about telling us what it is you really need to do?

Jos 

I want to protect my script when they use change date to before software expire 

Posted
1 minute ago, SundayXsniger said:

I want to protect my script when they use change date to before software expire 

I just started beginner using it Still do not understand how much I want to study

  • Developers
Posted

Don't think when you write software you should modify the date/time of your "customer's" computer! 
It is fine to monitor and check the date against the internet date/time but it does't feel right to force the date when it isn't your computer.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

  • Moderators
Posted

meoit,

Which bit of:

Quote

And as it apparently needs saying every single time: please will nobody else post until I get a satisfactory answer.

was unclear to you? When Mods are asking question, just keep out of the way - especially when they have specifically asked that everyone else stays quiet.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted
1 minute ago, Jos said:

Don't think when you write software you should modify the date/time of your "customer's" computer! 
It is fine to monitor and check the date against the internet date/time but it does't feel right to force the date when it isn't your computer.

Jos

i dont want to change my "customer's" computer to fake but iwant to change to current from server internet or how it is Protection program my way, please help me.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...