Author Topic: Change Title name in Linux  (Read 397 times)

photometer

  • Community Member
  • Posts: 61
  • Hero Points: 0
Change Title name in Linux
« 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.

     
« Last Edit: July 07, 2020, 09:33:59 pm by jiteshnair »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5979
  • Hero Points: 467
Re: Change Title name in Linux
« Reply #1 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.

photometer

  • Community Member
  • Posts: 61
  • Hero Points: 0
Re: Change Title name in Linux
« Reply #2 on: July 07, 2020, 10:30:02 pm »
Thanks. It worked.