Print Page | Close Window

Script setting changes to remote PCs

Printed From: Rocket Software
Category: AccuTerm Knowledge Base (read only)
Forum Name: Scripting & Automation
Forum Description: Customize and control AccuTerm using scripts and automation
URL: https://forum.asent.com/forum_posts.asp?TID=2213
Printed Date: March 26 2026 at 8:51pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: Script setting changes to remote PCs
Posted By: ninja
Subject: Script setting changes to remote PCs
Date Posted: September 21 2012 at 11:16am
I would like to change 2 settings for all of the accuterm installs on our network.  I would like to keep any other settings the user has the same.  Is the correct way to do this with a script created in accuterm?

It appears to me that the Session.Hostname and the Session.HistoryRows are the properties that I need to change, but I am not sure how to make a script that does this. 

What is the correct format for something like this?



Replies:
Posted By: PSchellenbach
Date Posted: September 24 2012 at 4:19am
Hi Ninja -

You can use a simple script to change settings from the host, but those changes would only happen when the user logs on and runs the host program which makes the changes. I don't know a way to "push" the changes to every install.

You are on the right track, but you might have a problem changing the hostname. This may cause the session to disconnect, so the user would need to close and reopen the session.

SCRIPT='With InitSession':CHAR(25)
SCRIPT=SCRIPT:'.HistoryRows=1000':CHAR(25)
SCRIPT=SCRIPT:'.Hostname="newhostname"':CHAR(25)
SCRIPT=SCRIPT:'.Save':CHAR(25)
SCRIPT=SCRIPT:'End With'
PRINT CHAR(27):CHAR(2):'P':SCRIPT:CHAR(13):

Thanks,

Pete



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net