Internet Shortcut _ Urgent
Internet Shortcut _ Urgent
- Subject: Internet Shortcut _ Urgent
- From: "Queen Ann" <email@hidden>
- Date: Wed, 10 Apr 2002 17:43:19 -0500
- Organization: Tata Infotech
Hi all,
This is my first question to this mailing list.
The question is :
Hi,
How do I make a script which will create an Internet Shortcut of Internet
Explorer in my desktop?
I was successful in doing it in Netscape using the following script :
-------------------------------SCRIPT--------------------
property file_type : "URL "
tell application "Netscape Communicator" to set my_url to
"
http://www.hotmail.com"
tell application "Finder"
try
set the_url_file_path to choose file name
set the_url_file to open for access the_url_file_path with write permission
set eof of the_url_file to 0
write my_url to the_url_file
close access the_url_file
set creator type of the_url_file_path to "MOSS"
set file type of the_url_file_path to file_type
on error errTxt number errNum
if errNum * -128 then close access the_url_file
end try
end tell
--------------------------END SCRIPT------------------------
This script will create a Netscape Bookmark on my desktop.
I want the same functionality in IE browser
I tried doing it in a similar fashion with file type "LINK" and creator type
"MSIE". It opens the IE browser but does not take the URL.
How do I do it? Please help me
Ann.
_______________________________________________
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.