KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Using HMS to delete a folder variable

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list
View previous topic :: View next topic  
Author Message
seelye



Joined: 17 Sep 2005
Posts: 40
Location: USA

PostPosted: Thu Oct 26, 2017 4:12 pm    Post subject: Using HMS to delete a folder variable Reply with quote

I have a script set to create a folder variable and I'm running this script as as ACTION from a test. I've made the script flexible by defining the CurrentFolder within my test's %CommentLine2%

So my script to CREATE a Folder Variable works fine:

SetCurrentFolder %CommentLine2%
SetFolderVariable fvar_sms_to %CommentLine3% -inheritpartly


However I want to later remove the folder variable, but I don't see a HMS command.

I want to write:

SetCurrentFolder %CommentLine2%
DelFolderVariable fvar_sms_to

but that isn't documented as being allowed

I also tried, the following (setting the variable to blank) but it didn't work

SetCurrentFolder %CommentLine2%
SetFolderVariable fvar_sms_to -inheritpartly

Is it possible without a feature update to do this?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Thu Oct 26, 2017 10:29 pm    Post subject: Reply with quote

set empty string
SetFolderVariable fvar_sms_to "" -inheritpartly

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index