-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any way to roll back any changes made? #6
Comments
Unfortunately, no. However, you can copy the script, manually reverse the changes using a text editor, and toggle the Regedit keys between 1 and 0 and the invert the other settings. In the first tab, when you launch the program, there is a 'Create Restore Point' option to revert the script's changes. Perhaps I could also add a prompt asking the user if they want to create a restore point before running the script. |
Thanks for the response. I (personally) think something like that will be
good, as this concern I mentioned stopped me from using your app until I
figured out some way of either reversing the changes or some way of knowing
what options I chose.
Perhaps also include a button to generate a "reverse changes" script?
The app doesn't read from registry or other storage what the state is when
it is first run does it? (In other words, if I make changes and run the app
again, will I be able to know which options are selected?)
Perhaps I'm overthinking this :-) ... Thanks again.
…On Thu, 6 Feb 2025, 19:35 Francesco, ***@***.***> wrote:
Unfortunately, no. However, you can copy the script, manually reverse the
changes using a text editor, and toggle the Regedit keys between 1 and 0
and the invert the other settings. In the first tab, when you launch the
program, there is a 'Create Restore Point' option to revert the script's
changes. Perhaps I could also add a prompt asking the user if they want to
create a restore point before running the script.
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4GXPQP6K7R26WWUNBKP332OOMP3AVCNFSM6AAAAABWUBNAKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBQGU2TINJXHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I just finished implementing the restore point prompt before the user runs the script, it will be available in the next release. The scripts are stored in the app as strings, so a reverse changes button would require writing a 'undoScript' for each script present in the app, which is doable. The problem is that the app doesn't read from registry, because the purpose of the program it was not to be a settings changer for Windows, it was to create a "script builder" which can be analyzed and possibly ran on multiple machines ; so once you restart the app you will not be able to know which options are enabled or not. |
This issue has been marked as stale due to inactivity. |
Is there a way to easily undo any changes made by the script?
The text was updated successfully, but these errors were encountered: