Tag Info

New answers tagged

0

I saw this extremely helpful answer to a problem I was having unzipping applications on another board from user patashnik: unzip doesn't handle the embedded resourceforks in ZIP files created by the Finder. If you want to unarchive those files from the CLI, use ditto: ditto -V -x -k --sequesterRsrc --rsrc FILENAME.ZIP DESTINATIONDIRECTORY If you want to ...


0

Terminal: defaults write -g com.apple.scrollwheel.scaling -float 1.0 And log-out/log-in. 1.0 is just a guess. Maybe also try 1.5. This is a hidden preference so default value is not known. Fiddle around a bit to find the speed to like. If it doesn't work, or you wish to restore to back to how it used to be: defaults delete -g ...


0

.scpt is in binary. .applescript is in text. You can use Spotlight/Finder's find function to search for words in .applescript. You cannot do this with .scpt. Since .scpt is already compiled, it's quicker to launch. My favorite thing about .applescript is that I can write that a script that read/write onto itself, so that variables are saved for next run ...


1

For OS X system files you cant not determine the end since it keeps working, but if you have start up apps you can do it for those. For the OS X you could use the first phase of boot process. it is indicated in the Console as bootlog[0]: BOOT_TIME 1428512373 0 After that the OSX is running mostly customization, like finding and connecting to your network ...


0

The Dock should be ready to take commands (e.g. mouse-clicks) as soon as it shows. If you are keen to know what is going on at login, you could add Activity Monitor to your login items and monitor CPU and disk activity as well as "task build-up" (like seeing what tasks are popping in to the list). Another approach would be to kick off the start process of ...


-1

If you're just needing to run any two commands via a script, you can just create something like this, open a text editor and add: #!/bin/bash echo foo && echo bar Save it as foo.sh, then: $ sh ./foo.sh foo bar The && lets you have two commands being executed, one after another, or you can just put the commands on different lines. In ...


3

You have saved your file as a Rich Text Format file (.rtf) In TextEdit.app Open your file and use the Make Plain Text menu to change it to the correct format for coding. Using anything other than plan text will mean that the file includes formatting code for styles and such that is visible to the shell layer but not to the user when viewing the file. ...


0

tell application "Finder" to open ((path to desktop) as text) & "FV.app"


0

If you want to create a service on demand create a service with Automator and enter /usr/bin/VBoxManage startvm "Ubuntu" headless & with the same settings as in your screenshot and that's it. And here is a nice icon for the service to get rid of the default one: Coipy and paste it in the info window. If you want to start it at log-in create a ...



Top 50 recent answers are included