Preferencesdialog.htmlTEXTVIZFW { Preferences dialog

Preferences dialog

The "Edit" menu lets you open the "Preferences" dialog of Smile. The "Preferences" dialog allows you to change the settings described below. Changes take effect immediately, except for the AppleScript formats and the default window settings, which are saved only when you close the dialog.

Open the Worksheet

Smile ships with a special kind of text window named Worksheet . The Worksheet is saved automatically on quitting Smile.
If this box is checked, the "Worksheet" will be opened automatically when Smile launches.

Remember open files

If this box is checked, Smile stores the path names of all windows opened when you activate the "Quit" command. Next time Smile will be launched, it will attempt to re-open these files automatically.

Remember selection

If this box is checked, when opening a document, Smile will select the text which was selected last time the file was saved. This can help, for instance, to find what was the last change in a given document.

Prefix results with "--"

When you run a piece of script from a text window (see Text windows if you are not familiar with this feature), the result of its execution is appended to the text window. According to this setting, the result is or is not preceded with two hyphens "--".

Script window color

Depending on your personal preferences, and on your monitor performances, you will prefer one of the three colors bondi (cyan), yellow or pink, or the standard white (not advised).

Language

Choose the language, English or French. The change takes effect immediately, except for the menus. The menus are updated only next time Smile is launched.

AppleScript formatting

In a compiled script, each piece of text is displayed according to its status : comments, variables names, litteral strings, etc. Choose in the pop-up menu 'Style for :' the category of string whose format you want to change. Then use the 'Text' menu to set its style. The string "use 'Text' menu to change styles" below the menu lets you check the setting.
As long as the "Preferences" dialog remains open, the changes made to the AppleScript formats are not saved. Clicking on the Revert button will reset the settings active when the "Preferences" dialog was opened.
The format for 'uncompiled text' is taken as the default format for any new text or script window.
Click the 'Default' button to set the formats to AppleScript's defaults.
Click the 'Default' button with the option key (  ) depressed to set the formats to a default based on Geneva 9.
Click the 'Default' button with the shift key (  ) depressed to set the formats to a default based on a larger font, Courier 12.

Smile's AppleScript formats just interfaces the "AppleScript formatting" scripting addition provided by Marco Piovanelli.

Default settings

Clicking the 'More settings' triangle will unfold the panel of the default settings for windows.
You can change the settings applied to the new windows made by Smile ( text windows and script windows ). These settings also apply to the window made when Smile opens a document created by another application such as SimpleText or Script Editor.
Use the local menu 'Settings of' to choose the type of window whose settings you want to choose: text windows, script windows, or dictionaries.
Check 'Use defaults' to use the standard settings of Smile.

Use available scripting components

If more than one OSA language is installed (if you do not know about OSA languages, this is probably not the case), AppleScript remains the default language. To work with another component, check 'Use available scripting components'. The windows will have an additional menu which allows to choose the component, like in the windows of Script editor.
 Z Z_tControlosasVIZFyUSS et Control 1osasVIZFy>>mt Cn_    k  ,  k   k    k4  J  kZ            k  p  k    k    k    k    k%  C  kS            k    k    k    k    k    k "   k  f  k j   k   k $  X  k m  r  k y   k   k    k  f  kn          0  kr    k    k  Q  ~              t  kx    k  N  ka  b  k    k  <  kU  selelist longlongpbndlist8longTlongelong2longBDrwfalspvistrueWIDLfalsICFFlongrSiDlongptxfTEXTGenevaptpslong Rectlist8longlonglonglongWTBHlongRqULlongLWdtlongBrWdlongAuAdfalsTbSzlong scptscptVFasdUAS 1.101.10  misccura"  CONT  misccura  cwtx2  kfrmID ascr ޭ Z Z_qbZstylSOUP&reco2rvBcwtx