Existe funcion o plugin para hacer esto? / Is there a function or plugin to do this? - Forum

Forum Navigation
You need to log in to create posts and topics.

Existe funcion o plugin para hacer esto? / Is there a function or plugin to do this?

@luishp, @vadim, @gaev, @asleycruz

 

ESPAÑOL

Hola gente, intento hacer mediante una pequeña aplicación que pueda cambiarle la fecha al sistema, es decir lo mismo que que haría desde el panel de control de windows...

Y posteriormente que me desconecte de la conexión de internet wifi  para luego poder lanzar un programa...

al cerrar el programa que vuelva a cambiar la fecha por la real y que me vuelva a conectar internet wifi

Estoy revisando mis plug pero no encuentro hasta el momento alguno que me permita hacer esto, o alguna funcion si existe....

Si alguien conoce alguno agradecere el comentario.

 

ENCLISH

Hello people, I'm trying to do it through a small application that can change the date of the system, that is, the same thing that I would do from the windows control panel...

And later that I disconnect from the Wi-Fi internet connection so that I can launch a program...

when closing the program that changes the date to the real one again and that I reconnect wifi internet

I'm reviewing my plugs but so far I can't find any that allows me to do this, or any function if it exists....

If anyone knows of any I would appreciate the comment.

 

 

 

 

@joferar333

You can use the asDateTime plugin (Andrei Solodyankin)

Command asDTSetSystemTime = Set the system date and time.

luishp has reacted to this post.
luishp

Thanks! @vadim

You don't know any to be able to disconnect the Wi-Fi connection?

Best Regards

@joferar333

I haven't tried it. Try plugin rtFileSystemMgt 1.4.3b (Ron Marie Services)

rtConnectionHangUp = End default connection to Internet.

luishp has reacted to this post.
luishp

@vadim

Friend, how do I make it appear translated in English. I put the .loc file in the root as the instructions indicate but it keeps showing me all the symbols and I can't understand how to translate it, do you have any idea?

@joferar333

Put the .loc file in the VisualNeoWin folder

luishp has reacted to this post.
luishp

Hi,

*** Using PowerShell ***

Take a look of this:

https://stackoverflow.com/questions/60555952/powershell-script-to-alternate-enabling-disabling-a-network-card

My 0.01

David de Argentina

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/set-date?view=powershell-7.2

luishp and Vadim have reacted to this post.
luishpVadim

I think disabling a network card refers to Lan. Sounds like you want to disable Wi-Fi?

The keyboard shortcuts for this are:

Win+A
ENTER

It works as a toggle, pressing the same key combination again will re-enable it.

I don't think Neo currently supports sending the Windows key?

However, there are several macro scripting tools that support sending such a key combination (Quick Macros is a real champ when it comes to this kind of thing). You can render the script as an .exe file and call it in your Neo app via the Run Command.
Make sure to add a pause of at least 1 sec between Win+A and ENTER if you script this.

luishp has reacted to this post.
luishp

ENGLISH

Exact I need that when executing there is no Internet connection with the machine that is running the application.
@daviddeargentina I have a link but I really can't understand how to implement that code ...
I thought there could be some plug that will disconnect the internet ... the same thing happens to me with the date of the system, @vadim I spend a plug that I have but when I execute it does not change or affect the date of the system and for what I read is incompatible ... finally I will continue to investigate if I manage to make an action change the date of the real system and disconnect the Internet machine.

ESPAÑOL
Exacto necesito que al ejecutar no haya conexion de internet con la maquina que se esta ejecutando la aplicacion.
@daviddeargentina me paso un link pero la verdad no puedo comprender como implementar ese codigo ...
crei que podria haber algun plug que desconectara la internet ... lo mismo me pasa con la fecha del sistema, @vadim me paso un plug que tengo pero cuando lo ejecuto no cambia ni afecta la fecha del sistema y por lo que lei es incompatible... en fin seguire investigando a ver si logro hacer que una accion me cambie la fecha del sistema real y que desconecte la maquina de internet.

I spent 3 hours of work generating the two programs (connect and disconnect) to do the things you need.

programs have to be run as Administrator.

Consider making a donation to leave everything resolved.

 

 

 

Ocupé 3 horas de trabajo en generar los dos programas (conectar y desconectar) para hacer las cosas que necesitas.

los programas tienen que ser ejecutados como Administrador.

Considera realizar una donación para dejarte todo resuelto.

 

Saludos / Greetings from Buenos Aires,

David de Argentina

Uploaded files:
  • You need to login to have access to uploads.

Hi David,

I tried out the batch files but they didn't work on my system. Probably because I am not using an Ethernet cable, solely Wi-Fi?

Same with the date section of the script... It would not respond on my system. I am using Windows 11.

It would be nice though to have a way to detect if the user's date settings are correct. That may sound a little intrusive, but it would be an interesting option in combination with a time-based demo app as discussed here:

https://visualneo.com/forum/topic/checking-todays-date-on-boot-up

So the demo would detect if the user's system date is set correctly. If it isn't then the app would exit.

Is this possible via Batch (but preferably VBScript, easier to convert into .exe) or with a plug-in?

rcohen has reacted to this post.
rcohen

Hi @talker,

 

You said:

"I tried out the batch files but they didn't work on my system. Probably because I am not using an Ethernet cable, solely Wi-Fi?"

Yes, use the WI-Fi String. I use Wifi only at this pc, and works fine.

You said:

"Same with the date section of the script... It would not respond on my system. I am using Windows 11"

All scripts must be executed as Administrator.

Isolate the Date script and save as "date.bat". then, run it as administrator.

 

About system date control, keep in mind that it is very easy to alter the system date, so it is possible to pervert actions related to the integrity of dates and programs.

I am seeing that the most convenient is the execution of the web:

https://tf.nist.gov/tf-cgi/servers.cgi

which would be the most reliable way to verify the integrity of the real date and time and that of the system

Cheers

rcohen has reacted to this post.
rcohen

Added the function at NeoDates Plugin:

ae_Dates_GetNISTDate

Purpose: Get the System Date/Time based on the

NIST Internet Time Service

Returns a lot of info about Date / Location / Julian Date / Delays and another info.

You could check about at:

https://www.nist.gov/pml/time-and-frequency-division/time-distribution/internet-time-service-its

Now you can be sure of the date and time on your computer forever.

Hi @talker,

here the full solution 100% free - not donation request....

RunAsDate

http://www.nirsoft/utils/run_as_date.html

In this site see all utils...

BesT Regards

 

@rcohen

I have not attacked anyone... I have stated the excellence of your work which is not in doubt, and I have only contributed and shared a program that solves what the colleague is looking for on the other hand, clarify that no type is required of donation, and that is not disrespect, disrespect is that they want to take you for a fool and look at you in the face... this is a lack of respect and I only put in evidence how they enlarge and brag about how much It takes work for them to do something that no one asked them because this is a forum and whoever wants to participate and help and they do not use it as a platform to be able to get personal income that is disrespect in itself for me in particular I do not offer respect to whoever I'm missing it or you want to take me for a fool.... I hope it's clear to you

 

Demo of ae_dates_GetNISTDate function

You could check if the date/time of your pc was changed

Easy to do a loop for check

Uploaded files:
  • You need to login to have access to uploads.

@joferar333 @daviddeargentina he borrado todo el contenido ofensivo. Quiero recordar aquí que no está permitido este tipo de contenido en el foro.
Será borrado inmediatamente y quien reincida será baneado (expulsado). Estoy seguro de que no tendré que volver a insistir en esto.

Muchas gracias por vuestra comprensión.

Saludos.