Jump to content
Server Maintenance This Week. ×

Create Windows Internet shortcut on desktop


This topic is 4285 days old. Please don't post here. Open a new topic instead.

Recommended Posts

We use Windows internet shortcuts placed on the users desktop to launch our solution from client machines. i.e. fmp://server.local/Solution.fmp12

Currently we do this by hand on each client machine. I was wondering if there is a way to create this using the Send Event script step in Filemaker Pro 12? Clients are using both Windows XP and Windows 7.

Thanks again in advanced.

Link to comment
Share on other sites

This VB script will do it.. all you have to do is figure out how to trigger it.

Dim FileName

FileName = "MyShortcut"

Set shortcut = CreateObject("WScript.Shell").CreateShortcut(CreateObject("WScript.Shell").SpecialFolders("Desktop") & + "" + FileName + ".lnk")

shortcut.Description = "My shortcut"

shortcut.TargetPath = "C:My Shortcut"

shortcut.Arguments = "/Arguments:Shortcut"

shortcut.Save

Link to comment
Share on other sites

You can store the content in a global text field, do an "export field contents" to a file with a VBS extension and then use the Send Event script step to to trigger it and delete the VBscript in another Send Event.

Link to comment
Share on other sites

This topic is 4285 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.