Richard Thomas Posted December 5, 2019 Posted December 5, 2019 A simple script to close the file, saving a copy for backup, fails to log the user out. Each time I open the file after the initial opening, the login and password request is bypassed. Simple file closing script: 1. Flush Cache to Disk 2. Save a Copy As ... 3. Close File When I re-open the file, I am NOT asked for my login details. I need the re-opened file to ask for login and password on each opening. Simple opening script reads: 1. Go to Layout 2. Adjust Window 3. Show all Records Question: What do I need to add to either of these scripts to force FM Pro 18 to ask for login details every time the file opens? I can't find the answer anywhere.
Wim Decorte Posted December 5, 2019 Posted December 5, 2019 It sounds like the 'close file' doesn't actually closes the file and when you re-open the file you don't really, it just draws a new window for the file that was still open (but was perhaps windowless, or hidden). So we'll need more info on how it is all constructed. As a quick test, when you close the file like you do in that script. FM is still running, go to the Window menu item, what do you see under the "show window" submenu item?
Recommended Posts
This topic is 1815 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