tell application "System Events"
tell application "System Preferences"
activate
reveal anchor "Network" of pane id "com.apple.preference.network"
end tell
tell window "Network" of process "System Preferences"
tell pop up button 1
click
pick menu item "Home" of menu 1
end tell
delay 1
click button "Apply Now"
end tell
quit application "System Preferences"
end tell
Sunday, July 15, 2007
Applescript to change Network Location
I have the need to change my network location from time to time. Opening the preference pane and making the change is tedious. Below is the applescript that I invoke from Quicksilver to change this. I'm still not sold on the language but being able to script the UI is fantastic.
Saturday, July 14, 2007
QSEclipse 0.9.2 Released
I released version 0.9.2 of QSEclipse today. It doesn't contain functionality above what 0.9.2a1 contained, I just dropped the alpha status. The release notes are pasted below.
QSEclipse 0.9.2
[2007-07-14: Revision 0.9.2]
[FIXED] Provide default excludes for scanning for workspaces
http://code.google.com/p/qseclipse/issues/detail?id=14
[FIXED] Workspace entry cannot be set as default
http://code.google.com/p/qseclipse/issues/detail?id=13
QSEclipse 0.9.2
Monday, July 2, 2007
MDEclipse
I created a small Spotlight metadata importer that provides metadata for folders that represent Eclipse workspaces. The project is mdeclipse and version 0.9 has been uploaded to google code. It's a simple project but I'll be integrating it into qseclipse so that I don't have to search manually which will remove most configuration from the plug-in. It's a separate project in case anyone would like to use it outside of qseclipse for Smart Folders, programmatic searches using 'mdfind', etc.
MDEclipse Home
EclipseWorkspaceImporter-0.9.0
MDEclipse Home
EclipseWorkspaceImporter-0.9.0
Sunday, July 1, 2007
Version 0.9.2a1 Released
I uploaded version 0.9.2a1 of qseclipse over the weekend. I reworked the indexing of workspaces so that hopefully, the default algorithm is good enough for most if not all use cases. This is a result of issue 14 which added excludes to the algorithm. It starts at "~" but excludes the following:
This a stop gap until I get the Spotlight integration working. Once that occurs I doubt there will be a search algorithm at all.
QSEclipse 0.9.2a1
- hidden folders
- ~/Applications
- ~/Desktop
- ~/Documents
- ~/Library
- ~/Movies
- ~/Music
- ~/Pictures
- ~/Public
- ~/Sites
This a stop gap until I get the Spotlight integration working. Once that occurs I doubt there will be a search algorithm at all.
QSEclipse 0.9.2a1
Subscribe to:
Posts (Atom)