Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

10.6: Copy/paste current IP into active application System 10.6
Ever wanted to quickly copy/paste your current IP address into an application? Now you can, using a relatively simple Automator Service in Snow Leopard.

Just download this file (75KB) and save as a service in Automator. This will add a new service called Get Current IP. This script gets the current default IP interface (for multi-homed systems), then pastes that result into the current app.

[robg adds: I haven't tried this one.]
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[3,171 views]  

10.6: Copy/paste current IP into active application | 5 comments | Create New Account
Click here to return to the '10.6: Copy/paste current IP into active application' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
10.6: Copy/paste current IP into active application
Authored by: adrianm on Mon, Sep 28 2009 at 9:51AM PDT
Useful - presumably this just shows the default IP address of the default/first interface?



---
~/.sig: not found

[ Reply to This | # ]
10.6: Copy/paste current IP into active application
Authored by: ctierney on Mon, Sep 28 2009 at 9:58AM PDT
This one gets the ip address of the first active interface:
http://putnamhill.net/applescript/ip2clipboard


[ Reply to This | # ]
10.6: Copy/paste current IP into active application
Authored by: gneely74 on Mon, Sep 28 2009 at 10:05AM PDT
This script actually uses netstat to determine the current default route for your Mac, and then it shows that interface's IP address. So if for instance, the default interface changes, it will show the new IP.



[ Reply to This | # ]
10.6: Copy/paste current IP into active application
Authored by: hookoa on Mon, Sep 28 2009 at 10:48AM PDT
Well, after this screwed up Services...(it just reads: Building.... now).
How do I get it back to actually just showing the useful Services that I use....???

---
"It's common knowledge among the clergy that God invented beef briskets for
Texans".
........Cactus Pryor

[ Reply to This | # ]
10.6: Copy/paste current IP into active application
Authored by: pheed on Wed, Sep 30 2009 at 9:05PM PDT
I always liked this Widget: http://www.apple.com/downloads/dashboard/networking_security/ipwidget.html

---
E-mail me: moc.cam@deehp

[ Reply to This | # ]