3/25/2023 0 Comments Geektool for mac os x lionAround the time that Mac OS X became available I changed all my scripts to use curl instead of URL Access Scripting. Applescript and curl, in the days of Mac OS 8.6 Apple provided basic internet functions using a component called URL Access, this was made available to scripts using a small applications called URL Access Scripting.Whilst many people have their own ideas of what are the most important physicochemical properties the seven generated by this script seem to cover almost all requests. Rule of 7 script, I regularly have to profile collections of compounds, these may be from commercial suppliers or could be a virtual library created for a MedChem project.This Applescript uses ChemBioDraw (aka ChemDraw) to generate the SMILES string of the selected structure,and then encodes and constructs the URL to run a search of eMolecules. Fortunately most of the sites will accept a SMILES string as the query and most of the desktop drawing packages can generate a SMILES string. Search eMolecules from ChemBioDraw, I use eMolecules much of the time however I'd prefer not to have to learn a new chemical drawing package for every online database.Extract a Safari Extension archive, With Safari 5 one of the most interesting new features is the support for Extensions, One of the best ways to learn how to create extensions is to examine other peoples creations, then this Applescript will help you do this.So I created this short Applescript to restart the server. However since it is something I don't need to do regularly I always spend a while working out the exact syntax. Start lmgrid license manager, I've found that on some occasions the server quits (perhaps after updates) and needs to be restarted.In this tutorial I'll use a couple of simple commands to create desktop content, and then link to Applescripts to create more complex content. The information can be derived from a shell script or using osascript it is possible to call applescripts (or any other OSA language scripts). It lets you display various types of information directly on you desktop. Using Geektool, GeekTool is a Preference Pane (System Preferences module) for Mac OS X.Copy File to MobileMe and send email, MobileMe is no longer available but this script could be modified to save in other online storage facilities.This tedious task becomes trivial with a couple of UNIX commands and Applescript provides a convenient user interface and the glue between the UNIX commands. Print Folder Contents, I recently needed a list of all files in a particular folder, actually the folder contained sub-folders also containing files.Comparing version numbers is not so straightforward since the version number could be 2.10.3 or 2.3.10, fortunately Apple have kindly provided a simple means to compare this type of numeric strings.One easy way to do this is to create an applescript. Print-clipboard I was recently asked if it was possible to print text on the clipboard without the need to open another application to paste it into.Full details are in the Applescript tutorial 4 ChemDraw multiple properties this script takes as input a file containing SMILES strings and calculates a variety of chemical properties.Full details are in the Applescript tutorial 3. ChemDraw Properties this script takes the selected structure and calculates a variety of chemical properties.DupCheck applescript droplet that checks for duplicates of a file.Use checkmol to generate a list of functional groups output to csv, requires Open Babel, and Checkmol/Matchmol.Convert ChemDraw to TIFF, ChemDraw (now known as ChemBioDraw) has excellent applescript support, this folder action automates the conversion of cdx file to TIFF for publications.Eleven Applescript Tutorials starting with some really basic tutorials to get you started extending to more complicated scripts.I’ve created a page of Applescript resources.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |