17.11.2014 Views

ChemOffice.Com - CambridgeSoft

ChemOffice.Com - CambridgeSoft

ChemOffice.Com - CambridgeSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Administrator<br />

GET retrieves a value from the ChemFinder.ini file.<br />

Follow the keyword with a variable name and the<br />

section and item number of the value you want to<br />

retrieve.<br />

SOUND plays a .wav file you specify.<br />

SYSMETRIC retrieves the specified system metric<br />

into a variable.<br />

The table below shows examples of General<br />

<strong>Com</strong>mands:<br />

created, otherwise it is overwritten. For both<br />

READMOL and WRITEMOL, the format of the file<br />

is determined by its extension; for example,<br />

benzene.cdx is a ChemDraw file.<br />

WRITETEXT exports the current list as delimited<br />

text with whatever delimiter is specified in the<br />

Preferences dialog.<br />

The table below shows examples of File<br />

<strong>Com</strong>mands:<br />

<strong>Com</strong>mand<br />

MSG ″Click OK<br />

to continue″<br />

FONT Times 12 1<br />

255 0 0<br />

GET V1,4,5<br />

SOUND beep.wav<br />

File <strong>Com</strong>mands<br />

READMOL filename<br />

WRITEMOL filename<br />

WRITETEXT filename<br />

Action<br />

display message, wait for<br />

click<br />

change font to red 12-<br />

point Times bold<br />

place the value of item<br />

number 5 in section 4 into<br />

the variable V1<br />

play the sound in the files<br />

beep.wav<br />

READMOL and WRITEMOL operate on the current<br />

molecule. These commands will work only if there<br />

is at least one structure-related box (structure,<br />

formula, or molweight) on the form, and you are<br />

positioned to a valid entry in the database.<br />

READMOL reads a specified structure file and<br />

replaces the current molecule in the form.<br />

WRITEMOL saves the current molecule to a<br />

specified structure file; if the file doesn’t exist, it is<br />

<strong>Com</strong>mand<br />

READMOL<br />

benz.mol<br />

WRITEMOL<br />

saved.mol<br />

WRITETEXT<br />

hits.txt<br />

Action<br />

Database <strong>Com</strong>mands<br />

OPENDB [R / R / RE] dbname<br />

CRETABLE tablename<br />

DELTABLE tablename<br />

SELTABLE tablename<br />

CREFIELD fieldname<br />

DELFIELD fieldname<br />

SORT [D] fieldname<br />

Oracle database commands:<br />

read specified file to become<br />

current molecule<br />

write current molecule to<br />

specified file<br />

export current list to a text file<br />

SQL <br />

SQLSELECT [v ] <br />

OPENDB opens a standard molecule database.<br />

Specify a pathname to the .mdb file, or a name from<br />

the ODBC Data sources list. When connected to an<br />

Oracle database, OPENDB takes a table name<br />

instead of a database name. You can specify the<br />

mode of database opening:<br />

696• CAL <strong>Com</strong>mands <strong>CambridgeSoft</strong><br />

File <strong>Com</strong>mands

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!