Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4637 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have created a pluging using ScriptMaster advanced that includes PopupMenu.

I have found this unreliable for some reason, no values in the popup.

I thought I had found the problem, and was setting a variable with the values and then using that variable as the parameter but now that I find that not working. I have even copied the 'red, green and blue' from the ScriptMaster file to try that but I am not getting a popup.

Using Mac OSX 10.5.8 and 10.6.5, all obvious things -checked other plugin functions working and that it is registered.

Any ideas why I am having this problem?

Posted

Hi David,

Set Variable($result; PopupMenu( $statusDef ))

Also just tryng on Windows7 and am getting an error with the plugin -

An error occurred while trying to load com.prosc.fmkit.PluginBridge. Make sure that it is loaded in a jar called 'plugin.jar'

could this be related?

Plugins were both created on Mac

Thanks

Tim

Posted

It sounds like you may have accidentally modified the module's code before building the plugin. Try re-downloading scriptmaster from our site and using a fresh copy of the popup menu module. You can copy and paste the code from the fresh download to your old scriptmaster file if you have other changes you want to make sure you don't lose.

If doing this doesn't resolve this issue give me a call and we can do screen sharing and see what is happening on your system.

Posted

Hi David, no joy.

Even tried creating a plugin ust for the popup from the new download.

Console messages below. Hopefully speak later

Tim

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] Nov 18, 2010 10:19:51 PM com.prosc.fmkit.RegisterablePlugin defaultRegister

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] INFO: Successfully registered popup: Major Version: 1

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] Type: Enterprise License

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] Registered To: Tim Anderson Group

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] Nov 18, 2010 10:19:51 PM com.prosc.fmkit.PluginBridge doFunction

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] SEVERE: Throwable: java.lang.RuntimeException: Unable to instantiate compiled ScriptMaster function: PopupMenu( choices )

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] java.lang.RuntimeException: Unable to instantiate compiled ScriptMaster function: PopupMenu( choices )

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] at com.prosc.beanshell.CompiledFunction.getGroovyFunction(CompiledFunction.java:97)

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] at com.prosc.beanshell.CompiledFunction.convertParams(CompiledFunction.java:73)

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] at com.prosc.fmkit.PluginBridge.doFunction(PluginBridge.java:854)

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] Caused by: java.lang.ClassNotFoundException: scriptmaster.Module_MTA3NzIyNzQxNgXX

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] at java.security.AccessController.doPrivileged(Native Method)

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

18/11/2010 22:19:51 [0x0-0x231231].com.filemaker.client.advanced[4978] at com.prosc.beanshell.CompiledFunction.getGroovyFunction(CompiledFunction.java:93)

Posted

Hi David,

Thanks for you help tonight - a quick update - creating plugin from a local, non-hosted, file does not fix the problem.

Cheers

Tim

  • 2 weeks later...
Posted

Hi Tim,

we've had the problem too and solved it by renaming the function "PopUpMenu" into "PuM" or anything else. Maybe it works for you too...

Greeting from Berlin

HB

Posted

Hi HB,

Have tried a couple of different names, including PuM, and a plugin wit only that function but still the same result.

Thanks anyway

Tim

  • 4 months later...
Posted

I have tried to do this as well with SM 4_124 version with 2 different self generated plugins. Both were renamed with a prefix ( e.g. LCS_PopUpMenu ( choices ).

It works in the SM file when running the "Run Script" button.

Any progress in solving this issue ??

  • 1 month later...
Posted

Ok, thanks David. I guess there is a lot on the to do list with Docubin recently released ;)

Not yet. This is still on our list of issues to look in to.

  • 11 months later...
Posted

Can you tell me if the plugin is being generated on a Windows or Mac machine? Which OS version? Also, it would be helpful to know which version of the plugin is being used also (Mac or Windows). I've been able to successfully create a plugin using OS 10.7 and the PopUp function works using the plugin on the same platform. This was using SM 4.131.

Posted

Hi

I created it on Mac 10.6.8, but have also created on 10.7.2, but it still does not work.

I have only created the plugin on mac, for both platforms, but did actually never test to see if this function was working on windows.... However it didn't on mac, which is very important...

In this thread it was suggested that you should rename the function, which I have done.

When I hit the "run" button in the SM FM file it does run perfectly fine, but not when compiled into a plugin.

Posted

Are you using the latest version of ScriptMaster? I have been able to successfully create a plugin using the Popup module and tested it successfully in a simple database. I am happy to send you both the generated plugin and the sample file if you contact me via email. The plugin was created and tested on OS X 10.7.4.

Posted

Hi Brent

I think I found the problem...

When I purchased the SM (about 4.121 I think), I started with your FM database and then added other functions, as well as renaming functions.

For each upgrade, I only updated the plugin, as I did a lot of customization with the functions.

The other day, I imported my functions into the FM database, that came with 4.132 and created a new version of my plugin.

And now it works !

I could not see, what was changed in the FM file as this function does not use any addition jar libraries...

This topic is 4637 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.