Is there a command shortcut to get to a dialog box? - stata

Stata has these dialog boxes to configure commands (e.g., "Summary statistics")
Is there any way to jump directly to these boxes from the command prompt rather than from the cascading menus?

From Chapter 2, The Stata user interface, in the Getting Started with Stata PDF,
You may know the name of a Stata command for which you want to see a dialog, but you might not remember how to navigate to that command in the menu system. Simply type db commandname to launch the dialog for commandname ...
For your example, type db summarize.

Related

SAS EG -How to keep "Program" window open when error in log

I've just switched to SAS EG from PC-SAS. If I run code from the Program tab, and it creates an error, my view is automatically changed from the Program tab to the Log tab. I'd like to turn this off. Is there an option for this?
Go to menu Tools-> Options -> Results. Under managing results section, uncheck "Display SAS log when errors occur."
As a side note, under Tools->Options->SAS Programs->Editor Options you will find a familiar menu for customizing how the editor looks and works.

SAS Hotkey permanent binding

I know F9 opens the definitions windows in SAS Enhanced Editor but the changes made here seem to last only for the current session.
Is there a way to configure SAS so that the hotkeys stay effective for any subsequent sessions ?
Check the 'Save settings on exit' option is selected in 'preferences' (Menu: Tools -> Options -> Preferences). This option should be on the 'General' tab. I can't be sure this will do the trick though but I expect so.
Go here to read more about it:- http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/viewer.htm#customizing.htm
Typing 'keys' in the command box brings up current assignment of all hotkeys in SAS. You can edit these and save the keys. As you noted, you can only have one copy of SAS up and running to do this (or you have to do it on the version you opened first that locked the .profile).
You can also map the hotkeys to several commands.
For example, I have F8 mapped to do the following:
out;clear;log;clear;wpgm;submit;log;top;
That clears current output (if you still use ods listing), clears the current log, submits contents of program editor, and then positions cursor at top of log window for review.
Cheers,
john

How to install new features or shortcuts?

At home, I am using ColdFusion Builder 1.0
When I have a file open and press ctl+shift+O, it outputs this
<cfoutput></cfoutput> or writeOutput();
When I have a file open and press ctl+shift+a, it outputs this:
<cfabort> or abort:
When I have a file open and press ctl+shift+d, it outputs this:
<cfdump var=""> or writeDump():
At work, I am using ColdFusion Builder 2.0.1. None of "features" described above work. I want to get them to work. What are the features called? Shortcuts? Do I need to download and install them separately? I have searched everywhere to find out how to make this happen and have had no luck. Please advise.
I believe what you are looking for is referred to as "keys" under the preferences in ColdFusion Builder. Click on the "Window" menu, then click on "Preferences". This opens a new Preferences window. In the left side navigation expand "General" and click on "Keys". On the right side you will see a list of all the predefined keyboard short-cuts (that is my terminology for it).
There is also another "Keys" option in the preferences under "ColdFusion", and then "Profiles". This is a shorter list than the other.
Also on the right side of that preferences window is a filter box. If you type in that box it will search the string for you. So, for example, you can type "cfabort" in that box and it will show you the entry for that: Ctrl+T A.
For what it's worth, your shortcuts did not work for me either in ColdFusion Builder 2. I did some searching and found the following ColdFusion Builder 2 documentation page mentioning that some keyboard shortcuts were changed from ColdFusion Builder 1. Keyboard shortcut enhancements. The shortcuts that you are asking about have been changed. Now they are:
Ctrl+T O for <cfoutput>
Ctrl+T A for <cfabort>
Ctrl+T D for <cfdump>
And if you just type Ctrl+T and then wait a few seconds a menu will be displayed with the available options to pick from.

TextMate Django Tab trigger failure

I just installed the Python Django and Django Templates bundles in Textmate. However, the tag triggers dont seem to work. I opened up a .py file and wrote manytomany and pressed tab and it didnt autocomplete.
When i click on it manually from the menu bar it works fine. Am I forgetting something? Do bundles need to be activated somehow?
You might have a scope mismatch--i.e., the scope you're in when you invoke that snippet has to match the scope(s) in which it was defined.
In your case, the default scope selector for the 'many-to-many' snippet is source.python.django, yet the scope you were probably in at the time you invoked the snippet was source.python, which is the pre-set scope when you open/create a python file.
There's two ways to deal with this, both are easy. The first is to change the document's scope; the second is to change the function/snippet's scope.
To do the first, just change the language associated with the document you are in via the pop-up menu in second panel (from the left) of the control bar (at the very bottom of the TM document window). When you open a python (.py) document, it should be set to "Python" by default. Click the triangles just to the right of "Python" and select "Python Django". Once you've done that, then typing "manytomany" in the text area then hitting TAB, will do what you want.
Alternatively you can change the snippet's scope. To do this, open the Bundle Editor ("ctrl-option-cmd B"), then select "Python Django" then the "ManytoMany" snippet. Click the "settings" button at the upper right of the Bundle Editor window, then change the text in the Scope Selector text box to read "source python" (by default it should read "source.python.django").
Are you sure the shorthand is manytomany? in my bundle, it's mtm. Try editing the bundle to see what the shorthadn trigger strings are.

Wise Installer, dialog on uninstall?

With wise installer, how can I make the 'Remove' action display a dialog? I would like to have some options displayed to the user.
The modify seems to do this, but my remove action just causes the uninstall with no options.
I'm not sure if I understood you but have you consider making another app (using wise scripts) that would act as a 'proxy' to uninstaller, so you execute it instead of uninstaller.
Within this application you can display any dialog you want and if needed execute "unwise32.exe /A install.log" to continue with removing.