Creating Web Internet Location-file

Is it possible to create Web Internet Location-file to x Finder folder with z name?

Hi cirno,


set f to choose file
tell application "Finder"
	set file_url to url of f
	make new internet location file at desktop to file_url
end tell

gl,

Is it possible to give name of file also? Now it requires to rename that file.

something like this?

set f to choose file
set myName to text returned of (display dialog "Enter Filename" default answer name of (info for f))
tell application "Finder"
	set file_url to URL of f
	make new internet location file at desktop to file_url with properties {name:myName}
end tell