Alternatively, if you want to change the value of the variable you have defined ( pres_av/thread-id) to say, 7, then you will need to use rpsetvar and issue the following command in the text window:
(rpsetvar 'pres_av/thread-id 7)