Teamstudio Script Browser 2.0
I am a little behind on Craig 's announcement of Script Browser 2.0 . This script browser is a life saver. If you write LotusScript code in script libraries then this tool is a must have. It is just like the Object Browser in Visual Studio or Java Browser in Eclipse.
Here is the list of new features:
- Class member variables are now included in the tree.
- Types are now included in the tree.
- Local function variables are now included in the tree.
- References to variables are now supported.
- Multiple script browsers can be opened for different databases.
- Database path is now displayed in the title bar.
All these features are really great. My favorite is the types and local variables. I do have a couple of improvements that I would like to see.
- Collapsed by default (window shade mode)
- Ability to refresh the browser without having to close and re-open
- Remember the placement for multiple windows. I would like to see first opened window have a spot, and if the second is opened it would have it is last position. If the first is closed the second would move to the first windows position.
- Option to display or hide private variables and methods, these should be hiden by default since they are unusable
Teamstudio Script Browser 1.05
I find myself using Script Browser every day helping me remember those properties and functions that I know I have built but don't use that often. The other little annoyance is the select of text in the Designer's script editor and Teamstudio's Script Browser. This is one of those little inconveniences because the left parenthesis is selected in script browser but not in the editor. Do you have any other feature that you would like to see. |
Teamstudio Script Browser 1.02
New features in 1.02
Fixes in 1.02
|
Check out the database title it is a new developer tool I am working on. It assist in copying reusable design elements in to templates.
One Teamstudio Icon 1.1
With the release of Teamstudio for Notes Edition 21 there is now 9 icons to choose from. Wait with the addition of Teamstudio Script Browser (which is free!!!) there is 10. My original One TeamStudio Icon only had 8 icons and I would foregt which icon is which. So this code will combine the 10 icons into one, which reduces bad clicks (at least for me). I have something like this:
![]()
Teamstudio has also made some name changes in the last version or two so both names will show to help with the switch. The other annoying thing about the implementation of Teamstudio's tools is that they lock Designer while they are open. In one of Teamstudio's beta release they were testing the ability to launch a tool in Modal mode which would not lock Designer. This was very nice feature, but it was not implemented because it had some bugs according to them. The one Teamstudio icon that I implemented uses the modal implementation and I never had a problem.
I started using a profile document to store the last selected option. The profile document will allow each database to have its last selection remembered. This might seem like a little over kill but there will be some constancy between all Smiley Tools: Edit Document Fields and Toolbar Functions in the near future.
For this article I have split up the code into two sections: Teamstudio Modal, Teamstudio Standard. Use what ever fits your needs.
Teamstudio Modal (allows the use of Notes/Domino)
![]()
REM {Visit http://www.chadsmiley.com/OneTeamstudioIcon for the latest updates};
REM {Constants};
TeamstudioLastSelection := "TeamstudioLastSelection";
ProfileName := "ChadSmiley Tools";
DefaultSelection := "CIAO! Modal";
REM {Get last selection for this database};
TeamstudioSelection := @GetProfileField( ProfileName ; TeamstudioLastSelection ; @UserName ) ;
Option := @Prompt( kCancelList; "Select Option" ; "What would you like to do:" ; @If( TeamstudioSelection = "" ; DefaultSelection ; TeamstudioSelection ) ; @Explode( "Analyzer Modal:Configurator Modal:CIAO! Modal:Delta Modal:Profiler Modal:Design Manager (Librarian) Modal:Librarian (Design Manager) Modal:Snapper:Form Snippet:Validator (Linkchecker) Modal:Linkchecker (Validator):Modal:Script Browser" ; ":" ) ) ;
REM {Set last selection for this database};
@SetProfileField( ProfileName ; TeamstudioLastSelection ; Option ; @UserName ) ;
REM {Execute the correct option.};
File := "Nothing";
@If(
Option = "Analyzer Modal" ; @Command(xecute "ndean.exe"; @DbColumn ("NAME":"Nocache";"") ) ;
Option = "Configurator Modal" ; @Command(xecute "nconfy.exe";@DbColumn ("NAME":"Nocache";"") ) ;
Option = "Script Browser" ; @Set( File ; @DbColumn( "TMS":"NoCache" ; "CLSVIEW") ) ;
Option = "Delta Modal" ; @Command(xecute "ndelta.exe";@DbColumn("NAME":"Nocache";"") ) ;
Option = "CIAO! Modal" ; @Command(xecute "nciao.exe";@DbColumn("NAME":"Nocache";"") ) ;
Option = "Profler Modal" ; @Command(xecute "nprofile.exe";@DbColumn("NAME":"Nocache";"") ) ;
Option = @Explode( "Librarian (Design Manager) Modal" : "Librarian (Design Manager) Modal" ; ":" ) ; @Command(xecute "nlibr.exe";@DbColumn("NAME":"Nocache";"") ) ;
Option = "Snapper" ; @Set( File ; @DbColumn( "TMS":"NoCache" ; "SNAP") ) ;
Option = "Form Snippet" ; @Command( ileImport "Form Snippet";"") ;
Option = @Explode( "Linkchecker (Validator) Modal" : "Validator (Linkchecker) Modal" ; ":" ) ; @Command(xecute "nvalidator.exe";@DbColumn("NAME":"Nocache";"") ) ;
"" );
REM {Only Analyzer and Validator open a database after execution.};
@If ( File != "Nothing" & Option = @Explode("Analyzer Modal" : "Linkchecker (Validator) Modal" : "Validator (Linkchecker) Modal" ; ":" );
@Do(
@PostedCommand( ddDatabase File );
@PostedCommand( ileOpenDatabase File )
);
"" )
Teamstudio Standard
![]()
REM {Visit http://www.chadsmiley.com/OneTeamstudioIcon for the latest updates};
REM {Constants};
TeamstudioLastSelection := "TeamstudioLastSelection";
ProfileName := "ChadSmiley Tools";
DefaultSelection := "CIAO!";
REM {Get last selection for this database};
TeamstudioSelection := @GetProfileField( ProfileName ; TeamstudioLastSelection ; @UserName ) ;
Option := @Prompt( kCancelList; "Select Option" ; "What would you like to do:" ; @If( TeamstudioSelection = "" ; DefaultSelection ; TeamstudioSelection ) ; @Explode( "Analyzer:Configurator:CIAO!:Delta:Profiler:Design Manager (Librarian):Librarian (Design Manager):Snapper:Form Snippet:Validator (Linkchecker):Linkchecker (Validator):Modal:Script Browser" ; ":" ) ) ;
REM {Set last selection for this database};
@SetProfileField( ProfileName ; TeamstudioLastSelection ; Option ; @UserName ) ;
REM {Execute the correct option.};
File := "Nothing";
@If(
Option = "Analyzer" ; @Set( File ; @DbLookup( "TMS" : "NoCache"; "DEAN" ) );
Option = "Configurator" ; @Set( File ; @DbColumn( "TMS" : "NoCache"; "STAR" ) ) ;
Option = "Script Browser" ; @Set( File ; @DbColumn( "TMS":"NoCache" ; "CLSVIEW") ) ;
Option = "Delta" ; @Set( File ; @DbColumn( "TMS" : "NoCache"; "DIFF" ) ) ;
Option = "CIAO!" ; @Set( File ; @DbColumn( "TMS" : "NoCache"; "CIAO" ) ) ;
Option = "Profiler" ; @Set( File ; @DbColumn( "TMS" : "NoCache"; "PROFILE" ) ) ;
Option = "Profler Modal" ; @Command(xecute "nprofile.exe";@DbColumn("NAME":"Nocache";"") ) ;
Option = @Explode( "Design Manager (Librarian):Librarian (Design Manager)" ; ":" ) ; @Set( File ; @DbColumn( "TMS" : "NoCache"; "LIBR" ) );
Option = "Snapper" ; @Set( File ; @DbColumn( "TMS":"NoCache" ; "SNAP") ) ;
Option = "Form Snippet" ; @Command( ileImport "Form Snippet";"") ;
Option = @Explode( "Linkchecker (Validator)" : "Validator (Linkchecker)" ; ":" ) ; @Set( File ; @DbColumn( "TMS" : "NoCache";"LINKCHK" ) ) ;
"" );
REM {Only Analyzer and Validator open a database after execution.};
@If ( File != "Nothing" & Option = @Explode( "Analyzer" : "Linkchecker (Validator)" : "Validator (Linkchecker)" ; ":" );
@Do(
@PostedCommand( ddDatabase File );
@PostedCommand( ileOpenDatabase File )
);
"" )
Teamstudio Script Browser
Teamstudio has done it again, this time it is free software! They have created a Script Browser which allows the browsing of classes and functions inside of a Domino database. It is very cool and I have only played with it for a short time.
You can browse by Class, Library and Calls. The calls tab is very nice to see where a function or method is being used. There is even an option navigate to the call or definition.
via: http://www.eknori.de
One Teamstudio Icon
Updated version of One Teamstudio Icon is now available.
If you have ever used Teamstudio you will notice there could eight different icons to choose from. Over the past four years that I have been using Teamstudio I have frequently clicked on the wrong icon. After wasting time to close down the tool and select a different one. I created one icon that would contain all options and prompt me which tool I wanted to open.
So now I have something like this:
The standard Teamstudio icons are on the right. The new icon will display the following prompt to select the tool to use.
The other annoying thing about implementation Teamstudio's tools is that they lock Designer while they are open. In one of Teamstudio's beta release they were testing the ability to launch a tool in Modal mode which would not lock Designer. This was very nice feature, but it was not implemented because it had some bugs according to them. The one Teamstudio icon that I implemented uses the modal implementation and I never had a problem.
For this article I have split up the code into three sections: Teamstudio Modal, Teamstudio Standard, and Original Teamstudio's Posting. Use what ever fits your needs.
Teamstudio Modal (allows the use of Notes/Domino)
"Snapper" : "Form Snippet" : "Validator (Linkchecker) Modal" ) ;
File := "Nothing";
@If(
Option = "Analyzer Modal" ; @Command([Execute]; "ndean.exe"; @DbLookup ("NAME":"Nocache";"") ) ;
Option = "Configurator Modal" ; @Command([Execute]; "nconfy.exe";@DbLookup ("NAME":"Nocache";"") ) ;
Option = "Delta Modal" ; @Command([Execute]; "ndelta.exe";@DbLookup("NAME":"Nocache";"") ) ;
Option = "CIAO! Modal" ; @Command([Execute]; "nciao.exe";@DbLookup("NAME":"Nocache";"") ) ;
Option = "Librarian Modal" ; @Command([Execute]; "nlibr.exe";@DbLookup("NAME":"Nocache";"") ) ;
Option = "Snapper" ; @Set( File ; @DbColumn( "TMS":"NoCache" ; "SNAP") ) ;
Option = "Form Snippet" ; @Command( [FileImport]; "Form Snippet";"") ;
Option = "Validator (Linkchecker) Modal" ; @Command([Execute]; "nvalidator.exe";@DbLookup("NAME":"Nocache";"") ) ;
"" );
@If ( File != "Nothing" & Option = "Analyzer":"Linkchecker";
@Do(
@PostedCommand( [AddDatabase]; File );
@PostedCommand( [FileOpenDatabase]; File )
);
"" )
Teamstudio Standard
(Linkchecker)") ;
File := "Nothing";
@If(
Option = "Analyzer" ; @Set( File ; @DbLookup( "TMS" : "NoCache"; "DEAN" ) );
Option = "Configurator" ; @Set( File ; @DbLookup( "TMS" : "NoCache"; "STAR" ) ) ;
Option = "Delta" ; @Set( File ; @DbLookup( "TMS" : "NoCache"; "DIFF" ) ) ;
Option = "CIAO!" ; @Set( File ; @DbLookup( "TMS" : "NoCache"; "CIAO" ) ) ;
Option = "Librarian" ; @Set( File ; @DbLookup( "TMS" : "NoCache"; "LIBR" ) );
Option = "Snapper" ; @Set( File ; @DbColumn( "TMS":"NoCache" ; "SNAP") ) ;
Option = "Form Snippet" ; @Command( [FileImport]; "Form Snippet";"") ;
Option = "Validator (Linkchecker)" ; @Set( File ; @DbLookup( "TMS" : "NoCache";"LINKCHK" ) ) ;
"" );
@If ( File != "Nothing" & Option = "Analyzer":"Linkchecker";
@Do(
@PostedCommand( [AddDatabase]; File );
@PostedCommand( [FileOpenDatabase]; File )
);
"" )
Original Teamstudio's Posting
The current posting at Teamstudio for Run *Non-Modal* and *Modeless* Versions of Teamstudio Products from a Single Smarticon (You will need to log in)
The link has the following disclaimer on it:
[Editor's note: The modeless (or non-modal) versions of these Teamstudio for Notes products are not supported by the company. Under certain special circumstances crashes have occasionally been reported]
"Delta" : "Delta Modal" : "Librarian"
: "Librarian Modal" : "Snapper" : "Form Snippet" : "Linkchecker" ) ;
File := "Nothing";
@If(
Option = "Analyzer" ; @Set( File ; @DbLookup( "TMS" : "NoCache"; "DEAN" ) );
Option = "Analyzer Modal" ; @Command([Execute]; "ndean.exe"; @DbLookup ("NAME":"Nocache";"") ) ;
Option = "Configurator" ; @Set( File ; @DbLookup( "TMS" : "NoCache"; "STAR" ) ) ;
Option = "Configurator Modal" ; @Command([Execute]; "nconfy.exe";@DbLookup ("NAME":"Nocache";"") ) ;
Option = "Delta" ; @Set( File ; @DbLookup( "TMS" : "NoCache"; "DIFF" ) ) ;
Option = "Delta Modal" ; @Command([Execute]; "ndelta.exe";@DbLookup("NAME":"Nocache";"") ) ;
Option = "CIAO!" ; @Set( File ; @DbLookup( "TMS" : "NoCache"; "CIAO" ) ) ;
Option = "CIAO! Modal" ; @Command([Execute]; "nciao.exe";@DbLookup("NAME":"Nocache";"") ) ;
Option = "Librarian" ; @Set( File ; @DbLookup( "TMS" : "NoCache"; "LIBR" ) );
Option = "Librarian Modal" ; @Command([Execute]; "nlibr.exe";@DbLookup("NAME":"Nocache";"") ) ;
Option = "Snapper" ; @Set( File ; @DbColumn( "TMS":"NoCache" ; "SNAP") ) ;
Option = "Form Snippet" ; @Command( [FileImport]; "Form Snippet";"") ;
Option = "Linkchecker" ; @Set( File ; @DbLookup( "TMS" : "NoCache";"LINKCHK" ) ) ;
"" );
@If ( File != "Nothing" & Option = "Analyzer":"Linkchecker";
@Do(
@PostedCommand( [AddDatabase]; File );
@PostedCommand( [FileOpenDatabase]; File )
);
"" )
Teamstudio Build Manager
Was just told about a new software that Teamstudio is selling which would simplify the task of migration. Teamstudio Build Manager