SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: photometer on July 07, 2020, 09:28:42 PM

Title: Change Title name in Linux
Post by: photometer on July 07, 2020, 09:28:42 PM
Hello,
I am running slickedit on Linux.
I open multiple slickedit instances and would like the name of the Workspace or Project show up on the Title bar. I search this forum and found the following links
https://community.slickedit.com/index.php/topic,257.msg67781.html#msg67781
https://community.slickedit.com/index.php/topic,17381.msg67662.html#msg67662

I downloaded the title_change.e and loaded the macro. Then on the command I typed title_change "name". Did not see any change.
I copied the following lines into a new macro
_command void setappcapflag ( int flag=3 )
{
   _default_option(VSOPTION_APPLICATION_CAPTION_FLAGS,flag);
   _config_modify_flags(CFGMODIFY_OPTION);
}
 I loaded the above macro and ran it. It complained that variable VSOPTION_APPLICATION_CAPTION_FLAGS is not availble.

Can somebody please guide me.

     
Title: Re: Change Title name in Linux
Post by: Clark on July 07, 2020, 10:13:36 PM
You need to include "slick.sh"

#include "slick.sh"

The above macro looks like it should work.
Title: Re: Change Title name in Linux
Post by: photometer on July 07, 2020, 10:30:02 PM
Thanks. It worked.