August 1, 201213 yr 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.
August 2, 201213 yr 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
August 2, 201213 yr 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.
Create an account or sign in to comment