Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,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 1.82 / 5
  You rated: 2 / 5 (11 votes cast)
 
[5,324 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 whoever posted them. This site is not responsible for what they say.
10.6: Copy/paste current IP into active application
Authored by: adrianm on Sep 28, '09 09:51:28AM

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 Sep 28, '09 09:58:39AM
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 Sep 28, '09 10:05:49AM

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 Sep 28, '09 10:48:14AM

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 Sep 30, '09 09:05:38PM
I always liked this Widget: http://www.apple.com/downloads/dashboard/networking_security/ipwidget.html

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

[ Reply to This | # ]