Author Topic: 1.6.2 clear saved variables not working  (Read 3647 times)

TheThingIs

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 278
    • HCS Voicepacks
1.6.2 clear saved variables not working
« on: March 29, 2017, 07:08:58 AM »
Clearing saved profile variables isn't working

see attached test profile
« Last Edit: March 29, 2017, 07:42:34 AM by TheThingIs »
The Singularity profile - One profile to rule them all and at HCS we bound them ;)

You see, TheThingIs, eventually you'll be allright.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: 1.6.2 clear saved variables not working
« Reply #1 on: March 29, 2017, 08:14:32 AM »
This seems to be working right for me.  Are you clearing and then, 'seeing' without restarting?

Quote
Note:  This will clear the variable values that are saved to the profile, but will NOT clear the resident variables from memory.

There's a reason it works like this... I can't remember what it was.

TheThingIs

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 278
    • HCS Voicepacks
Re: 1.6.2 clear saved variables not working
« Reply #2 on: March 29, 2017, 10:55:53 AM »
haha you need to remember everything :p

but yeah, I am closing va after clearing the saves and they are still there when reloaded
The Singularity profile - One profile to rule them all and at HCS we bound them ;)

You see, TheThingIs, eventually you'll be allright.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: 1.6.2 clear saved variables not working
« Reply #3 on: March 29, 2017, 11:31:39 AM »
Seems to be working on my machine with v1.6.2:

  • See -> "Not Set"
  • Retrieve -> See -> "Not Set"
  • Set -> See -> "1"
  • Restart VoiceAttack
  • See -> "Not Set"
  • Retrieve -> See -> "1"
  • Clear -> See -> "1"
  • Retrieve -> See -> "Not Set"
  • Restart VoiceAttack
  • See -> "Not Set"
  • Retrieve -> See -> "Not Set"

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: 1.6.2 clear saved variables not working
« Reply #4 on: March 29, 2017, 11:32:35 AM »
How are you closing VA?

I'm doing this:

set them
show them -good

(reload va)

show them - all null
retrieve them
show them - all set
clear them
show them - (still shows values because resident values are still retained)

(reload va)

show them - all null
retrieve them
show them - all null

TheThingIs

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 278
    • HCS Voicepacks
Re: 1.6.2 clear saved variables not working
« Reply #5 on: March 29, 2017, 12:03:28 PM »
ok I've found the issue...I'm executing the cmd from the edit window and that's the culprit. Doing it by voice works fine, although I haven't tested a prefix suffix cmd as that was the original issue where it wasn't working in my main profile. I save a lot of dynamic variables to my profile so can't clear them individually so I used this to clear the profile if things get messy. It's currently a voice disabled cmd as it's dangerous so forcing ppl to manually have to do it I thought would be safer :)

weirdly having the cmd in a suffix is now ok as well. So it's just not working when you execute a cmd from the profile edit window. Not an issue really then as I can work around that np
« Last Edit: March 29, 2017, 12:59:13 PM by TheThingIs »
The Singularity profile - One profile to rule them all and at HCS we bound them ;)

You see, TheThingIs, eventually you'll be allright.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: 1.6.2 clear saved variables not working
« Reply #6 on: March 29, 2017, 01:01:21 PM »
DOH!  I keep forgetting that little one thing.

Yeah... when in edit mode, it's isolated from the profile.  It's effectively a copy so you can make all kinds of changes and it's not committed until you hit, 'done'.  Sorry about that :(