-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed script step not appearing #210
Comments
Ok, so you do need to quote the text strings when you setup the function, so this is the example I tried :
Which works to create the script step ( you need to close and re-open the editor for it to appear ). However when I run the step I get error -1. I'm looking into this one now. Cheers, |
Followup, that did work for me, the progress dialog appeared, just behind another window so I didn't see it at first. But I got the extra error dialog as well... |
Hi Nick Thanks. Closing and reopening the editor was the step that was missing. In hindsight, probably a logical step to take, but I think I just closed the whole database once, and didn't try to close just the editor afterwards. I didn't get an error dialog, and the progress dialog appeared in the foreground. Anyway, this was just a proof of concept I was building, and I took the progress dialog because it would have given me immediate visual feedback to see whether the script step was successfully executed. Maybe it is a good idea to include a small example of this functionality in the documentation as well as note that the editor window needs to be restarted. Thanks a bunch! Cheers |
So you don't get the same error dialog that I did? What platform and what versions of everything ( OS, FMP, BE ) Thanks, |
No, I don't get an error dialog, and I even checked with Get ( LastError ) and BE_GetLastError: no errors are raised. This is my setup:
|
This is probably more a support question than an actual issue, but I can't figure out how to use the
BE_ScriptStepInstall
function, and the documentation is not really helpful.As an example I'm simply trying to make a script step to perform
BE_DialogProgress
.I have tried:
and I have tried:
Neither seem to be working. They also don't produce an error and I can see the script step in
BE_DebugInformation
.Speaking of which... this is the output of
BE_DebugInformation
:The text was updated successfully, but these errors were encountered: