fousthvk Posted March 29, 2021 Share Posted March 29, 2021 I am having a hard to getting my head around how to make this work. The ad on works great and I can get it to regenerate a code in the client via one record at a time. However if we decide to change the settings of the barcode and want to "regenerate" them all? I thought ok cool I Will just run a loop through all the records and call the script. however because it sets the web viewer those are called as scripts to be ran after the main and just "pile up" waiting to be ran once the script with the loop is done. any ideas on how to get around this? Link to comment Share on other sites More sharing options...
comment Posted March 29, 2021 Share Posted March 29, 2021 What happens if you insert a short pause into the loop before going to the next record? Link to comment Share on other sites More sharing options...
fousthvk Posted March 29, 2021 Author Share Posted March 29, 2021 The script gets fired to run after the script that contains the loop is finished….. Link to comment Share on other sites More sharing options...
comment Posted March 30, 2021 Share Posted March 30, 2021 Then I don't know. I am still on v.18 so I cannot use add-ons, but I managed to reproduce the issue using a script run via the FMP URL protocol. Inserting a pause in the looping script solved the problem. What exactly does your looping script do to trigger the other script? Link to comment Share on other sites More sharing options...
fousthvk Posted April 19, 2021 Author Share Posted April 19, 2021 The loop script simply calls the add on script on each record. It then calls a script that sets a webviewer, that fires off another script. However that script just gets stacked to the end of the primary script. Link to comment Share on other sites More sharing options...
fousthvk Posted August 11, 2021 Author Share Posted August 11, 2021 Anyone figure this out yet? Link to comment Share on other sites More sharing options...
bcooney Posted August 13, 2021 Share Posted August 13, 2021 https://community.claris.com/en/s/question/0D53w000059njbyCAA/how-do-i-use-the-built-new-barcode-generator-to-put-a-bar-code-on-2000-items-using-a-script Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 979 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 accountSign in
Already have an account? Sign in here.
Sign In Now