Newbies donka61 Posted July 10, 2005 Newbies Posted July 10, 2005 This is my first post. I would like to create a script so that a container can easily be opened for editing (rather than having to right click and then select OPEN PRESENTATION). That way I could make the container itself be a button and all the user has to do is to click on it to edit it. I have powerpoint slides in containers. If the user double clicks on them they open for viewing. I am using FM 5. I would appreciate any help anyone can give me. Thanks in advance.
Wim Decorte Posted July 11, 2005 Posted July 11, 2005 The only option you have is a scripted Go To Field with the "select/perform" option toggled. Unfortunately with powerpoint slides it just shows the presentation but doesn't open it for editing. So I think you're out of luck. Maybe a link to the file would be better instead of embedding the object?
aholtzapfel Posted July 22, 2005 Posted July 22, 2005 This is possible by using a very short easy visual basic script write a filemaker script that goes to but does not preform the container field you want to edit, then use a send message script step to open a .vbs file (can be made in notepad and saved with a .vbs) the visual basic file should be: 'This file must be saved with a .VBS extention for computer to run it ' make a script in filemaker 'that goes to but does not preform 'the field you want to edit 'and use a sendmessage script step to run 'this visual basic script Set WshShell = WScript.CreateObject("WScript.Shell") 'activates filemaker WshShell.AppActivate "FileMaker Pro" 'same as shift+F10 same as right click WshShell.SendKeys"+{F10}" 'allows time for keystokes to register 1000=1sec WScript.Sleep 500 'same as hitting E on the keyboard WshShell.SendKeys"E"
Recommended Posts
This topic is 7132 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 accountSign in
Already have an account? Sign in here.
Sign In Now