New answers tagged

0

(The manual way) Cmd-click (or right-click) the Acrobat window title and choose the parent folder. Ă…pen Terminal and drag the PDF-file into the terminal window. Copy the file path from the Terminal window.


0

So here's an AppleScript that I pasted together with the help of some other answers and the AppleScript reference. This puts the URL of the frontmost Acrobat document to the clipboard, e.g: file://localhost/Users/Your%20Username/Documents/Some%20Folder/Filename.pdf tell application "System Events" tell process "Acrobat" set thefile to ...


0

In Acrobat, like in many applications, you can drag-and-drop the document icon from the window's title bar to other applications, which hands over the file's path (hold down the mouse button slightly longer before dragging). For example, if you drop the icon on the Desktop, the Finder creates an alias icon. If you drop it in a TextEdit document, the PDF is ...


0

If your Outlook client is not crashing when you select calendars, there is a method in the UI to remove blocks of duplicate or outdated events. I can't find the link to give credit, but here is the process: create a new calendar categorization, call it 'delete' or something. go to calendars view, in list view not grid. Cmd-Shift-F 'Advanced Find' Select ...


1

I can't help with the Google Drive question. I can help with a better backup script. I do backups from local disk to local disk using a tool called rsync that comes installed on every Mac and can be accessed in Terminal or using a script like the one you have. rsync --verbose --ignore-errors --archive --exclude '.*' --itemize-changes --delete --progress ...


1

open folder then run script tell application "Finder" to set cwd to POSIX path of (insertion location as alias) tell application "VLC" OpenURL "file://" & cwd & "" play end tell


1

You can embed your shell script within AppleScript calling bash with a heredoc. do shell script "/bin/bash -s <<'EOF' cd /Users/myusername/Git/myproject/ /usr/bin/git remote remove orig EOF"


2

To not get that error, you need to make myShellScript.sh executable. In a Terminal, use the following command: chmod u+x /path/to/file/myShellScript.sh Also, you should add a shebang to the top of the script. Example: #!/bin/bash Note: Use the appropriate shebang for the shell you want to process your script. If you do not want to make the script ...


0

After a lot of searching, a search for "date format without alphabetic time zone abbreviation" returned Info on ISO 8601, the date and time representation standard. That information helped me to find out that the timestamp format that is being used in Mavericks its /private/var/log/ppp.log file, is actually the ANSI C's asctime() format. C asctime To ...


3

There is no native alternative. You must acquire watch from using Homebrew (brew install watch) or MacPorts (port install watch) if you require an actual executable. You can however, emulate the function of watch. That can be accomplished in a standard bash while loop (from Stack Overflow by Daniel Pittman): You can emulate the basic functionality with ...



Top 50 recent answers are included