Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Fast user switching color profile bug - an AppleScript that might help' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fast user switching color profile bug - an AppleScript that might help
Authored by: andrewj on Mar 20, '07 04:20:44PM

As a refinement to this excellent hint, on our systems at home we did this:
1) put an alias to the DMProxy file in a folder in the Shared User directory so that any user could use the fix without delving amongst the Frameworks and so on in the System directory.
2) I also wrote the following AppleScript, which does the job, and then, after a pause of 3 seconds, quits the Terminal.app - the script can do this only if your Terminal windows are set to show the active process name.

tell application "Finder"
open document file "DMProxy" of folder "Resources" of folder "A" of folder "Versions" of folder "CoreGraphics.framework" of folder "Frameworks" of folder "A" of folder "Versions" of folder "ApplicationServices.framework" of folder "Frameworks" of folder "Library" of folder "System" of startup disk
end tell
delay 3
tell application "Terminal"
if name of window 1 is "Completed Command" then
quit
end if
end tell

This can be saved as a script (.scpt) which can be accessed from the Script Menu, or as an application (.app) wich can be used as a Toolbar Script in Finder windows.



[ Reply to This | # ]