Category Archives: Apple Mac and Mac OS X (macOS)

Linux shell navigation shortcuts

Today I’ve learned a few new things for the shell in Linux and macOS. When navigating through a long command in a shell I’ve wondered if there are other ways except using [alt] + left || [alt] + right arrows. Some key combinations for navigations: [esc] + b = jumps to the beginning of the current… Read More »

Using AppleScript to change system preferences

This is a small script for AppleScript to change System preferences. Below is one example on a slider and another on a checkbox. This example set the tracking speed of the mouse tell application “System Preferences” activate end tell tell application “System Events” tell process “System Preferences” click menu item “Mouse” of menu “View” of menu bar 1 delay 2 set theSlider to slider “Tracking speed” of window “Mouse” tell theSlider set sliderStatus to value of theSlider as number if sliderStatus is not 0 then set value of theSlider to 9 as number delay 1 end tell end tell end tell This example disables the background download of updates. tell… Read More »