<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title><![CDATA[Script Triggers]]></title><link>http://fmforums.com/forum/showforum.php?fid/267/</link><description>Event models and how to implement script triggers. </description><language>none</language><pubDate>Sun, 07 Mar 2010 05:15:06 GMT</pubDate><lastBuildDate>Sun, 07 Mar 2010 05:15:06 GMT</lastBuildDate><docs>http://blogs.law.harvard.edu/tech/rss</docs><generator>FusionBB 3.0 FINAL (www.fusionbb.com)</generator><item><title><![CDATA[Script to change a record number in a seperate window]]></title><link>http://fmforums.com/forum/showtopic.php?tid/213677</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/213677</guid><description><![CDATA[ Hello all, I am new to the forum (and to Filemaker)so hope I am posting in the right place.<br />
<br />
The file I am working on, I always have two windows open,side by side. I need to be able to always work on 2 consecutive records at the same time, and be able to go back and forth between the two. The record in the right window always needs to be 1 record higher than the one in the left window (so if I am on record 1 in the left window, the right window is on record 2, if 5 is in the left window, 6 is in the right etc.)<br />
<br />
Is there any way to automate the process so that whatever record I go to in the left window, the right one automatically updates to the next record up from the left window. I have a field in each record that has automatically incrementing serial numbers in it that corresponds to the record number, if that helps at all.<br />
<br />
Hope someone can help! I'm not even sure this is possible, and if it is, figuring it out is definitely beyond my current experience level.<br />
<br />
Thanks in advance for any ideas.  <img src="/forum/images/smilies/smile.gif" alt="" />  ]]></description><pubDate>Sun, 07 Mar 2010 04:57:23 GMT</pubDate></item><item><title><![CDATA[Load Record on Login]]></title><link>http://fmforums.com/forum/showtopic.php?tid/213664</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/213664</guid><description><![CDATA[ Im having trouble with a script that needs to run onLayoutLoad.<br />
<br />
I have a member's database that i am starting to setup users in. Each user's username is their email address. Each user also has a record in the database.<br />
<br />
What i would like to do is once the user logs in, have the database open up to their record.<br />
<br />
I've tried to setup a script that would Perform Find or Enter Find Mode, but it seems i cannot use the Get functions.<br />
<br />
For eaxmple, what i've tried to setup is a script that would look like the following:<br />
<br />
<pre><font class="code">Code:</font><br />
<code><span style="color: #000000"><br />
<span style="color: #0000BB">&nbsp;Members</span><span style="color: #007700">::</span><span style="color: #0000BB">Email&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">Get&nbsp;</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">AccountName&nbsp;</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB"></span><br />
</span><br />
</code><br />
</pre><br />
<br />
<br />
Problem is when i use the specify find requests, it actually searches for an email address of Get ( AccountName ).<br />
<br />
Hoping someone could point me in the right direction. Thanks ]]></description><pubDate>Fri, 05 Mar 2010 20:23:33 GMT</pubDate></item><item><title><![CDATA[Limit to number of email recipients?]]></title><link>http://fmforums.com/forum/showtopic.php?tid/213586</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/213586</guid><description><![CDATA[ Hi There,<br />
<br />
Am using the "send mail" event where there are ~2200 recipients in the bcc field.  (one email using data from the current record; bcc - collect addresses from across found set)<br />
<br />
The database dies every time at this step.  Completely shuts down Filemaker.<br />
<br />
Is there a known limitation on the number of recipients?  I have checked our exchange and the limit is 64,000 so it's not that.  Have tested on 2 different computers (XP -v- 7; 9.5 -v- 10) with the same results.<br />
<br />
Can successfully export otherwise to different format. (i.e xls)<br />
<br />
Thoughts?<br />
<br />
TIA ]]></description><pubDate>Mon, 01 Mar 2010 04:01:10 GMT</pubDate></item><item><title><![CDATA[Counter Script]]></title><link>http://fmforums.com/forum/showtopic.php?tid/213573</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/213573</guid><description><![CDATA[ I need a script that will act as a counter when a button activates. Ideally, when the button is pressed the first time a 1 is entered, when pressed a second time a line return and a 2 is entered, ad infitum.<br />
<br />
Can anyone help me?<br />
<br />
TIA ]]></description><pubDate>Sat, 27 Feb 2010 17:19:36 GMT</pubDate></item><item><title><![CDATA[Field as Button - Get(...........]]></title><link>http://fmforums.com/forum/showtopic.php?tid/213287</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/213287</guid><description><![CDATA[ G'day,<br />
<br />
I haven't checked in here for a very long time.  Looks like I'm now in the dark ages with 7.3 but it still works for my limited use.<br />
<br />
I'm knocking up a quick database that will run in kiosk mode on a tablet PC to gather field data.  Problem is that there will be some manual entry fields and kiosk mode doesn't like the tablet's on screen qwerty keyboard.  Besides that the qwerty is tiny and not able to be used without a stylus (stupid).<br />
<br />
I've got no problems developing a qwerty in FM to pop up in a new window.  What I am trying to figure out is if there is an easy way (read, not a script for every manual entry field) to capture the active field name and active field contents.  I have formatted the field as a button and attached a script using the get functions named above but when the button is selected apparently FM doesn't recognise it as an active field.<br />
<br />
I will set the info into global fields as well as setting the record ID to a field in the keyboard table to create a relationship but I need to tell the keyboard table which field to set with the information entered and pass the current field contents to the keyboard for editing.<br />
<br />
I can easily do this by creating a separate script for every manual entry field which simply goes to the field and select/perform (this activates the field) then runs the script which uses the set field function (with active .......) and opens the keyboard  but this is allot of scripts.<br />
<br />
Is there a way to get this data about different fields without having to write a seperate script for each field?  I've tried several things but can't seem to find one.<br />
<br />
Thanks in advance, if anyone has a solution.<br />
<br />
Cheers! ]]></description><pubDate>Sat, 06 Feb 2010 23:47:35 GMT</pubDate></item><item><title><![CDATA[Perform find using multiple checkbox entries]]></title><link>http://fmforums.com/forum/showtopic.php?tid/213176</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/213176</guid><description><![CDATA[ Hi all, I have been 'lurking' for a while and reading the many informative and interesting posts on the forum but I thought it was time to get involved. I am very new to FM and have enjoyed getting to grips with it. I do have a problem though and since googling has returned little of benefit I was wondering if what I am after is actually possible! So to the problem...<br />
<br />
I have two field Colours (Red, Green, Blue) and Size (Large, Small, Medium). I would like to produce a layout where checkboxes allow multiple selections to be made from each field and then to allow a find of those records.<br />
<br />
So for example I could search for <br />
-Red OR Green AND Small<br />
-Red AND Small OR Medium.<br />
<br />
I hope this makes some sense as I seem to have been going around in circles with this for quite some time! ]]></description><pubDate>Mon, 01 Feb 2010 14:42:24 GMT</pubDate></item><item><title><![CDATA[Yellow detail labels on 'Mouse over']]></title><link>http://fmforums.com/forum/showtopic.php?tid/213126</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/213126</guid><description><![CDATA[ I'm almost certain this is in the wrong place, so admin feel free to move it.<br />
<br />
I would like to know if it is possible to get the small yellow labels you see on most interfaces when you 'Mouse over' a button or link. Just the small yellow box with a little bit more detail in it.<br />
<br />
If so how do you go about doing this. Please point me in the right direction.<br />
<br />
Mark. ]]></description><pubDate>Thu, 28 Jan 2010 10:25:32 GMT</pubDate></item><item><title><![CDATA[Trigger based on upcoming date]]></title><link>http://fmforums.com/forum/showtopic.php?tid/213085</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/213085</guid><description><![CDATA[ I would like to set up a trigger of sorts to send an email for any record in the database that is based on an upcoming event date where the event date is less than 2 weeks away from a stored target completion date. <br />
<br />
I understand the logic needed (I have conditional formatting set up already to visually highlight the date), but is there a simple way to do this per record check (aside from looping through all the records to check this condition)?<br />
<br />
Hope I explained this OK....<br />
<br />
Thanks -  ]]></description><pubDate>Tue, 26 Jan 2010 16:54:37 GMT</pubDate></item><item><title><![CDATA[Capture Ctrl key]]></title><link>http://fmforums.com/forum/showtopic.php?tid/213034</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/213034</guid><description><![CDATA[ Hi,<br />
<br />
Is it possible to capture the Ctrl key?<br />
<br />
I disable the search button in FM and wanted to Capture the [ctlr]+[f] combination to activate a search script with the onLayoutKeyStroke trigger.<br />
<br />
Is it possible? ]]></description><pubDate>Fri, 22 Jan 2010 21:31:51 GMT</pubDate></item><item><title><![CDATA[Suppress character entry when using OnLayoutKeystroke?]]></title><link>http://fmforums.com/forum/showtopic.php?tid/212794</link><guid isPermaLink='false'>http://fmforums.com/forum/showtopic.php?tid/212794</guid><description><![CDATA[ Hi all -<br />
<br />
I've recently started replacing all the plug-in based script triggers in our solution with FileMaker script triggers.   <br />
<br />
I'm using the OnLayoutKeystroke trigger and I'm wondering if anyone knows a way to prevent the character that's associated with the keystroke from being entered into the current field.   <br />
<br />
I'm using a seldom used keystroke("`") to bring up a pop-up window and I don't want that character entered into the field.<br />
<br />
<br />
Thanks for any ideas! ]]></description><pubDate>Thu, 07 Jan 2010 20:35:56 GMT</pubDate></item></channel></rss>