Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Retrieve data from VBS?

Featured Replies

Hi,

I've never use VBS before. Can a VBS script return values to FM?

Thanks

Can a VBS script return values to FM?

...kind of, but not directly, take a look at this link (and the vbs script is produces)...

Link to Post about this....

No directly, no. You can run a script through so you can prepare a file to be imported and then run a script that will import your file...

If FMI updated the FM activeX model to allow passing a parameter to a script then we would be so much closer...

  • 1 month later...

Keep in mind also, you can get data back into FM through the clipboard, I've used this mostly from DOS but it works from VBS also. You can use either the IE method, or any one of numerous ActiveX's for this purpose.

If the VBScript outputs to a file, you can also use CLIP.EXE to get the file into the clipboard.

True, but using the clipboard is considered bad programming in every environment since it destroys whatever the user may have on their clipboard. You can get around that by going to extra lengths to save and restore the clipboard but the extra code is not worth it usually.

Using the import mechanism is a lot more reliable and allows for better error trapping.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.