Getting file path of dropped file

Is there a way to retrieve a file’s path when it is dropped on the application? I’m trying to make an applescript droplet to change the wallpaper.

Thanks in advance.

You really need to look before you ask. I just posted that solution just a few posts below yours. You can see it here: