April 25, 20187 yr I have a Button Bar and I have different buttons.... in One Button I need to Print but it is a choice of 3 different things... So I started a script with a custom dialog and I can get the first one to print or the last but I cannot get the script so that I can click on the selection and just that one print it trys to print all three of just the one....
April 25, 20187 yr Author 3 hours ago, Steve Martino said: How about you show the script? Allow User Abort off Show Custom Dialog [“Lions Print Letters; “Select which letter to print?”] If[Get(LastMessageChoice )=1 New Window[Style: Document; Name: “Pre Application Letter”; Top:100;Left:200] Go to Layout [“Preapplication” (Contracts)] Print Setup[restore; With dialog: off] Print [Restore: Hp Color Laserjet 4700:with dialog: Off] End if If[Get(LastMessageChoice )=2 New Window[Style: Document; Name: “Pre Application Letter”; Top:100;Left:200] Go to Layout [“Preapplication” (Contracts)] Print Setup[restore; With dialog: off] Print [Restore: Hp Color Laserjet 4700:with dialog: Off] End if If[Get(LastMessageChoice )=3 New Window[Style: Document; Name: “Pre Application Letter”; Top:100;Left:200] Go to Layout [“Preapplication” (Contracts)] Print Setup[restore; With dialog: off] Print [Restore: Hp Color Laserjet 4700:with dialog: Off] End if Exit Script [Text Result: ]
April 26, 20187 yr For starters, instead of 3 If/End If's, you should use If and 2 Else If's, 1 End If. But that doesn't matter as all 3 message choices point to the same layout. You can also use the New Window script step and select a layout, eliminating Go to Layout. I also don't know what the 3 message choices represent.
April 28, 20187 yr Author On 4/25/2018 at 10:03 PM, Steve Martino said: For starters, instead of 3 If/End If's, you should use If and 2 Else If's, 1 End If. But that doesn't matter as all 3 message choices point to the same layout. You can also use the New Window script step and select a layout, eliminating Go to Layout. I also don't know what the 3 message choices represent. ok I am not new to filemaker I am not a great person writing this so If I use 1 if how do I put the 2 and 3rd selection... I am just going to a layout and printing a layout....how do i put in the script to pick the 2nd and 3rd pick. 2 minutes ago, Koonce said: You can also use the New Window script step and select a layout, eliminating Go to Layout. I do not know where this is located
April 28, 20187 yr Author 18 hours ago, Lee Smith said: This is the FileMaker Help New Window script step well i as of yet i can't get the layout to go without the go to layout
May 2, 20187 yr Author On 4/27/2018 at 9:52 PM, Koonce said: ok I am not new to filemaker I am not a great person writing this so If I use 1 if how do I put the 2 and 3rd selection... I am just going to a layout and printing a layout....how do i put in the script to pick the 2nd and 3rd pick. I do not know where this is located On 4/27/2018 at 11:04 PM, Lee Smith said: This is the FileMaker Help New Window script step i have Filemaker 15 and it looks like the new window script does not have the layout spot
May 2, 20187 yr http://www.filemaker.com/help/15/fmp/en/#page/FMP_Help%2Fnew-window.html 23 minutes ago, Koonce said: i have Filemaker 15 and it looks like the new window script does not have the layout spot
Create an account or sign in to comment