• 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
Re: Internet Shortcut _ Urgent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Internet Shortcut _ Urgent


  • Subject: Re: Internet Shortcut _ Urgent
  • From: JJ <email@hidden>
  • Date: Wed, 10 Apr 2002 18:41:56 +0200

> 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.

You must write to the file anything such as:

[InternetShortcut]URL=http://www.google.com/

JJ
_______________________________________________
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.

  • Prev by Date: Re: Trimming down a list
  • Next by Date: Re: silly newbie question #42
  • Previous by thread: Re: Internet Shortcut _ Urgent
  • Next by thread: Re: Internet Shortcut _ Urgent
  • Index(es):
    • Date
    • Thread