January 2, 200521 yr Newbies Hi, I'm a novice and I hope someone can help me with my troubles. I'm trying to create an applescript which downloads a file to the desktop, then opens the file and reads it into a string: ------ set the target_URL to the clipboard set the destination_file to ((path to desktop as string) & "maptemp.htm") tell application "URL Access Scripting" download target_URL to file destination_file replacing yes end tell open for access destination_file set filedata to (
January 3, 200521 yr Newbies if you are running osX try something with a shell command? Otherwise go look at a plugin http://www.troi.com/software/fileplugin.html
February 15, 200520 yr Why not just put the data straight into the field? Example: set targetURL to "http://www.apple.com" do shell script "curl " & targetURL copy result to cell "whatever" of current record
Create an account or sign in to comment