Jump to content
Sign in to follow this  
Guest olbidux

add to ie favorite -how ?

Recommended Posts

Guest olbidux

Hello,

i've been searching in the forums how to add an internet favorite - did'nt get any answer.

Any of the Autoit community could give me e clue ?

The aim is to deploy an internet favorite over 500 workstations avoiding an unicode caracter not understood by Linux samba3.xx

Thank you

Share this post


Link to post
Share on other sites
Xavier

Hello,

i've been searching in the forums how to add an internet favorite - did'nt get any answer.

Any of the Autoit community could give me e clue ?

The aim is to deploy an internet favorite over 500 workstations avoiding an unicode caracter not understood by Linux samba3.xx

Thank you

<{POST_SNAPBACK}>

Hello,

Is it an AutoIt related questions?

You couls use either GPO, Logon script to manage IE favorite or maybe copy the shortcut in the user profile.

Hope this help

Xavier

Share this post


Link to post
Share on other sites
Guest olbidux

Hello

I'll manage it through the userprofile

Thanks

Share this post


Link to post
Share on other sites
zipster

I found this in vbs, and ran it through the vbs --> au3 converter, cleaned it up a bit and here you go!!

Const $ADMINISTRATIVE_TOOLS = 6

            $objShell = ObjCreate("Shell.Application")
            $objFolder = $objShell.Namespace($ADMINISTRATIVE_TOOLS) 
            $objFolderItem = $objFolder.Self     

            $objShell = ObjCreate("WScript.Shell")
            $strDesktopFld = $objFolderItem.Path


            $objURLShortcut = $objShell.CreateShortcut($strDesktopFld & "\Yahoo.url")
            $objURLShortcut.TargetPath = "http://www.yahoo.com"
            $objURLShortcut.Save()
:whistle:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.