All of these ways are great and very useful, but I need to use this
specific workflow. As always you're very informative and this info was
well put.
On Jun 6, 2008, at 2:55 AM, Esther wrote:
Hi Shaun,
Are you just trying to find out your IP address or do you need to get
this Automator work flow working?
If you want to find out your wireless IP address, you can type the
following line in terminal:
ipconfig getifaddr en1
to find out your IP address for an ethernet connection type:
ipconfig getifaddr en0
If you add "| say" (without the quotation marks) at the end of your
command, the output of your query will be piped to the say
command, and you'll hear something like "10.0.1.4"
I you need to put this in an Automator workflow, you can
choose an action like "Run shell script"
Then, enter a command like:
ipconfig getifaddr en 1
in the command under the action and send the results to
a second action like "Speak text"
You could also have had the single command under your
"Run shell script" of
ipconfig getifaddr en 1 | say
or
ipdonfig getifaddr en 0 | say
but that uses the more limited "say" command, and you
have less control over the rate, pitch, etc.
Even easier, because you don't have to do anything in
Automator of terminal, just go to a web site like:
http://www.whatismyip.com/
The What is My IP Address web site will just simply
display your external IP Address, and you don't have to
worry about whether this is a connection by AirPort or by
Ethernet. Even better, it shows you your IP address as
seen by an external connection, and not the local
address on your home network.
Of course, it depends on what you are trying to do. If
you are trying to connect to another machine on your
local network to transfer data, then you want a local IP
address.
I'm afraid that I'm confused about what you want to
do, but maybe some of the above suggestions will
help. I'm not sure how to follow the instructions in your
custom workflow, but the above gives different ways
to find out your IP address.
HTH
Cheers,
Esther
On June 05, 2008, at 07:05PM, vashaun jones wrote:
Listers I'm trying hard to follow the below instructions for creating
a custom work flow in Automator for displaying my IP address. Can
someone help me troubleshoot what could be going wrong? I don't know
if it's the dragging and dropping or what.
1) Create a custom workflow
2) Click on "Variables" at the top of the Library list
3) In the "System" category, double click the "IP Address" variable
to
add it to the bottom of your workflow
4) Click on "Actions" at the top of the Library list
5) In the "Utilities" category, double click the "Ask for
Confirmation" action to add it to your workflow
6) Drag the "IP Address" variable from the bottom of your workflow to
the "Message" field of the "Ask for Confirmation" action
That's it. If you run the workflow, your IP address should be
displayed in a dialog.
Hope this helps.