If [ Get (ApplicationVersion) = "web" ]
is never true and thus the code enclosed in this if block never executes.
From the help file on this Get function:
Pro version for FileMaker Pro
ProAdvanced version for FileMaker Pro Advanced
Runtime version for FileMaker Runtime
FileMaker Web Publishing version for FileMaker Web Client
Web Publishing Engine version for FileMaker Server Web Client
xDBC version for xDBC Client
Server version for FileMaker Server
Patterncount ( Get ( applicationversion ) ; "web" )
Did Phil ModJunk's answer help? I have the same problem. My IWP script keeps the show/hide status area script item in the first two lines of the script (as recommended elsewhere) but still the Status Area is visible. Hmmmmm.
Can you post your script?
To post a script to the forum:
- You can upload a screen shot of your script by using the Upload an Image controls located just below Post A Answer.
- You can print a script to a PDF, open the PDF and then select and copy the script as text from the opened PDF to your clipboard for pasting here.
- If You have FileMaker advanced, you can generate a database design report and copy the script as text from there.
- If you paste a text form of the script, you can use the Script Pretty box in the Known Bugs List database to paste a version that is single spaced and indented for a more professional and easier to read format. (Use the HTML option on the database tab panel and paste the text into the forum's HTML editor.)
Here's my script screen shot...any suggestions you can provide will be greatly appreciated!
You have script steps that are not web publishing compatible. With this script open in the script editor, select Web Publishing in the compatibility drop down and then remove or disable all incompatible script steps. Then run this script again to see how it works. (A script will silently halt if it encounters a step that is not web compatible.)