This should give you a good idea of how to do this the way you want to (making multiple shortcuts for increase and decrease of RPMs) Read the documentation for smc to learn how to set the fans to other RPMs, etc. To prevent damage to a system from overheating, the application does not allow you to set a minimum speed below Apple's default value, though you can increase. The utility also allows you to change the fan speed. Now whenever you press that key, in any application or context, it will run your AppleScript command Finishing Notes If you wish to check fan speed on a Mac OS X system, you can use smcFanControl. Assign a key to activate it and you’re ready to go. Download smcFanControl first and foremost, for two reasons: -One, is that you can easily monitor temperature and fan speed, and having these measurements.Click the plus sign to add a new shortcut and enter the name of the service exactly as you typed above.Open the Keyboard Shortcuts pane in the Keyboard panel in System Preferences.Name your service and remember the name (It's case sensitive).Change the first box at the top where it says Service receives selected text in any application to no input.Replace the Your script goes here portion with the script above ( do shell script "smc -k "FS! " -w 0003 smc -k F0Tg -w 36b0 smc -k F1Tg -w 36b0").Choose the Service template, select Utilities from the Library, and double-click Run AppleScript.Open Automator and create a new service.Now we follow this guide to assign a keyboard shortcut to our AppleScript. Now our AppleScript looks like: do shell script "smc -k "FS! " -w 0003 smc -k F0Tg -w 36b0 smc -k F1Tg -w 36b0" Line 3 sets fan 1 (right) to 3500 RPM smc -k "FS! " -w 0003 Line 1 takes the fans out of automatic mode AppleScript with smcĪn AppleScript to run a terminal command: do shell script "command"Ī terminal command to set both of the fans in a Macbook Pro to 3500 RPM: 0 Extreme, which requires Thermaltake Fan Control Software as the fans are. That's the only way to possibly create the shortcuts you want (because as you said, you can't create a shortcut to the profiles within the app itself. Macrosoft Pakistan (SMC-Private) Limited is a software design and development. You can do things like set and read fan speed. SmcFanControl has a built in utility smc ( documentation) that you can use from the command line. This is doable, with some work required on your end.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |