Link to home
Start Free TrialLog in
Avatar of rvfowler2
rvfowler2Flag for United States of America

asked on

FM - Get Functions for Computer Name/IP Address?

In Filemaker, are there Get functions are some other way to identify the computer name and/or ip address?  I don't see them.  Thanks.
Avatar of North2Alaska
North2Alaska
Flag of United States of America image

When editing a calculation, on the right hand side there is a list of functions.  Above the list is a popup that allows you to select the GET functions.
Avatar of rvfowler2

ASKER

Yes, I went to these list of Get functions, but don't see a GetIPaddress for the local machine, just GetHostIPaddress.
ASKER CERTIFIED SOLUTION
Avatar of Will Loving
Will Loving
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, Will, Get( SystemIPAddress ) was what I was looking for.  We have various printers in our office and my printer scripts send one's print jobs to their closest printer.  These have been hardcoded before, but not that I've entered everyone's IP address into the employee table, I can use the Get( SystemIPAddress ) to identify the person dynamically and send them to the correct printer.  (I like IP address rather than username because every so often, someone goes to another PC to do their work.)
Two other ways of identifying a unique user are:

1) Get ( SystemNICAddress ) which get the unique address of the Ethernet port

2) Get ( DesktopPath ) which can be used with the PatternCount() function to look for the volume name (useful on a Mac) or a specific user account.
Thanks.