URL Access Scripting (OSX) starts Classic unwanted
URL Access Scripting (OSX) starts Classic unwanted
- Subject: URL Access Scripting (OSX) starts Classic unwanted
- From: Hans Schoenmaker <email@hidden>
- Date: Fri, 11 Jul 2003 10:22:17 +0200
I got a script that used to work on os 9.2
I rewrote it to work on os 10.2.6
Every time I run this script it starts up Classic....
The script goes like this....
-------------------------------------------------------------------
property FileCounter : 0
set FileCounter to FileCounter + 1
property the_path : "Mac OS X:"
set the item_name to "apple2.txt"
set the parent_directory to ,
"
http://www.top-line.nl/output/"
set this_URL to (the parent_directory & the item_name)
set the local_filepath to ((the_path) & "callscript.txt")
set the timeout_amount to 1800
try
with timeout of timeout_amount seconds
tell application "URL Access Scripting"
download this_URL to file local_filepath ,
replacing yes with progress and unpacking
end tell
end timeout
on error error_message number error_number
if the error_number is not -128 then
tell application (path to frontmost application as text)
display dialog ("Error number: " & (error_number as text) & ,
return & return & ,
error_message) buttons {"OK"} default button 1 giving up after 15
end tell
end if
end try
tell application "URL Access Scripting" to quit
-------------------------------------------------------------------
Where > tell application "URL Access Scripting" , is liked to the OS
10.2.6 URL Acces Scripting.app
Why is this happening?
Looks like the Script uses the "URL Access Scripting" of os9.2
Even when URL Access Scripting is renamed to something else it still
does!
What is wrong here?
Hans Schoenmaker
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.