Client configuration : Proxy and script

hi,I’d like to know how I can configure the location document to enter a script path instead of an IP address in the HTTP proxy field, as

http://proxyserver/proxy.pac

thanks for help