• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Internet Shortcut _ Urgent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Internet Shortcut _ Urgent
      • From: Rob Stott <email@hidden>
    • Re: Internet Shortcut _ Urgent
      • From: Gnarlodious <email@hidden>
  • Prev by Date: Re: mount valume and SMB in OS X
  • Next by Date: Quark type para at end of stories
  • Previous by thread: Re: InDesign scripting (a bug?)
  • Next by thread: Re: Internet Shortcut _ Urgent
  • Index(es):
    • Date
    • Thread