Monthly Archives: July 2013

get computer’s local & external IP address

applehelpwriter.com

Here’s an AppleScript you can save as a service that will show your router’s IP, your local network node and your external IP, if connected. Save it as a service and you can assign it a nice little hotkey. Pressing the ‘Copy’ button will display a menu that lets you choose which IP address you want to copy to the clipboard. If the connection request returns a timeout, hit the ‘Try Again’ button (or check your connection… 😉 ).

Tip: If you’re not familiar with using AppleScript yet, see my intro getting to grips with AppleScript for a guide to the basics! If AppleScript’s not your thing at all, download my free app FastTasks that will show you all your IP addresses and a whole lot more too!

🙂

Copy the entire code from Pastebin

copy the code from pastebin!


Related Posts:
FastTasks – download the free utility app from Applehelpwriter

Advertisements

Automator: make your own icons

Automator in action

Back around Christmas I posted this little procedure for making your own icons, with the promise that sometime I’d get round to writing it up as a script. Well, reader Cameron Leask has saved us all the effort and created this great little Automator workflow to do just that!

Download the workflow by clicking on the Automator robot below. When the download’s finished (it’s only 2MB), save it in your Applications folder.

To use it, just click on it to run. The first time you do that you may need to override your GateKeeper settings. Once you’ve allowed the app permission to run, choose the image you want to make into an icon and click ‘OK’ or press ‘return’. Cameron’s workflow will do the rest.

After a few seconds, you should see a little confirmation dialog telling you the icon is on your Desktop. Be sure to change the name of your new icon and/or move it to somewhere else before running the workflow again (or the next icon you create will overwrite the previous one).

Click the Automator robot to download:

Automator_Icon








Picture to icon.app

Thanks a million Cameron!

Got your own favourite Automator workflow or AppleScript you’d like to share? I’d be happy to consider posting them on Applehelpwriter. Just drop me a mail.

🙂

move selection

cup-de-sac by Michal Tokarczuk

It should be a simple thing to select a few files and sling them into your chosen folder. But OS X requires that you have to first open a Finder window, select the destination, then go all the way back to the location of the files you want to move and drag them in.

Wouldn’t it be much simpler if you could just select the files you want to move first, then choose the location without all the kerfuffle? Sure it would! 🙂

If you agree, then this is the script for you. I use it to move screenshots (of which I take a lot) from the Desktop to whatever location I want to store them in with a simple hotkey command (set up in Services or via FastScripts), control-command-M (‘M’ for move, of course!).

Copy the code from Pastebin

--start
tell application "Finder"
try
get selection
if selection is not equal to {} then
move selection to (choose folder)
else
display dialog "Nothing selected to move!" buttons {"OK"} default button "OK" with icon 2
end if
on error
set selection to {}
end try
end tell
--eof

🙂

Featured Picture: cul-de-sac by ~MichalTokarczuk

%d bloggers like this: