Skip to content

Instantly share code, notes, and snippets.

@booyaa
Created July 19, 2012 10:29
Show Gist options
  • Save booyaa/3142912 to your computer and use it in GitHub Desktop.
Save booyaa/3142912 to your computer and use it in GitHub Desktop.
Lotus Notes toolbar buttons for developers

How to use (assumes you're using Notes 8.5)

  1. File > Preferences > Toolbar > Customize
  2. New button
  3. Paste the code into the formula
  4. Profit

Get the Replica ID of open database

@Prompt([OkCancelEdit]; "ReplicaID"; "Woot!";@ReplicaID)

Open a database by Replica ID

@Command([FileOpenDBRepID]; @Prompt( [OkCancelEdit];"Enter Rep ID"; "I will open db using this Rep ID"; "00000000:00000000"))

Get Server and Db path of open database

@Prompt([OkCancelEdit]; "Props"; "Server and Db Path!"; @Text(@Implode(@DbName)))

Launch the Domino console (trivial this is the old R4 console)

@Command([AdminRemoteConsole])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment