MacSig Posted October 23, 2008 Posted October 23, 2008 Hello folks, I'm working on a small IWP project and I need to trigger a script when a new record is created. I guess ScriptMaster can help me out on that. Is it correct? I have read the plugin documentation but I still miss how it works. Let us say I need to update a field value on the last record when I create a new record. How can I do that? Can someone please provide me some hints? THANKS FOR YOUR HELP and HAVE A NICE DAY.
shmert Posted October 23, 2008 Posted October 23, 2008 Hello MacSig, ScriptMaster isn't really a script triggering plugin, although you can schedule scripts to execute after a given delay, or at a certain time. You might check out ZippScript for more script triggering options, or use custom menus to override the "New Record" menu item to call your script directly (probably the most straightforward option).
MacSig Posted October 23, 2008 Author Posted October 23, 2008 Thanks for your reply. Before looking at ScriptMaster I have checked out zippscript but since it is not supported anymore I couldn't find any documentatin and I'm concern it is not web-compatible. Do you know where I can find some documentation about zippscript? Have a good 1!
Fitch Posted October 24, 2008 Posted October 24, 2008 While some plugins are IWP-compatible, I don't really see how any script trigger plugin could work in a browswer. You're better off IMO hiding the FileMaker status area and scripting all navigation with buttons on the layout. I mean, the user is going to have to click something, she can't just hit ctl-N to create a new record, or even select it from a menu. Such is IWP. Make a New Record script, attach it to a button, and the script can do whatever you want. --- PS: I don't know about "not supported anymore" -- zippScript is free, so was never really "supported" in the way commercial software must be, but that doesn't mean the developer ignores feedback or won't try to help you -- just that he doesn't have to. The plugin comes with a good example file that explains all: http://homepage.mac.com/jkornhaus/filemaker/plugins.html
MacSig Posted October 25, 2008 Author Posted October 25, 2008 Thanks for your reply. I like the idea to put the navigation into the layout. Do you know if there are some layouts already made I can use ? Or do you know a good tutorial about making a navigation bar ? THANKS AGAIN AND HAVE A NICE WEEK-END
Recommended Posts
This topic is 5885 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