undo not working correctly

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
sekou2331
Posts: 318
Last visit: Sat Oct 28, 2023 7:46 am

undo not working correctly

Post by sekou2331 »

Product, version and build:Powershell Studio 2017 version:5.4.139
64 bit version
Operating system: Windows 7
64 bit OS
PowerShell Version: 5

Don't know if this something that can be changed in option but once I run my script I cant use undo. It is like once I run a script the last change I made is erased. Please advise.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: undo not working correctly

Post by davidc »

Hello Sekou,

I'm unable to reproduce this on my end.
Can you provide some more details?
What type of file?
What changes are you trying to undo? etc.

Note: When you are running a script, you can't alter the text until the script has stopped.
David
SAPIEN Technologies, Inc.
User avatar
sekou2331
Posts: 318
Last visit: Sat Oct 28, 2023 7:46 am

Re: undo not working correctly

Post by sekou2331 »

OK here is an example say I write the below lets call it script1:

  1. get-process | select-object ProcessName
then i run the small script. Then i change the script to and run it lets call it script2:
  1. get-process
Then i want to go back to script1. normally i could just do a ctrl-z or use your undo which will undo previous modification. But it doesn't work. anytime i make a change and run the script i can not use undo.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: undo not working correctly

Post by davidc »

Are you using the sign script on save feature?
David
SAPIEN Technologies, Inc.
User avatar
sekou2331
Posts: 318
Last visit: Sat Oct 28, 2023 7:46 am

Re: undo not working correctly

Post by sekou2331 »

I don't know where is that located?
User avatar
sekou2331
Posts: 318
Last visit: Sat Oct 28, 2023 7:46 am

Re: undo not working correctly

Post by sekou2331 »

can some help me with this issue please.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: undo not working correctly

Post by Alexander Riedel »

The option is here:
2017-05-18_11-36-06.png
2017-05-18_11-36-06.png (49.09 KiB) Viewed 2345 times
Please let us know if that is enabled or not on your machine.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 6 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.