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.

Get Filename with SCGetInfo using script trigger?

Featured Replies

I'm considering developing a drag and drop interface for importing information from excel. From reading at 360works, it seems like I can get the file name for this automatic import using the SCGetInfo command in the plugin. However, they describe setting up a 'continue' button or the like to trigger getting this info. I don't have FM10 yet, though will likely be getting it very soon, and I'm curious if in FM10 you can trigger a script from dropping the file in the web viewer? This would eliminate the need for having to click the button, and I could just check for valid information through the triggered script.

It's not a big deal to set up the button, it would just be a pretty slick import interface if this could be done directly from the drag and drop.

  • 2 weeks later...

I probably need more info on what your drag n' drop solution for Excel is...

SuperContainer supports drag n' drop for uploading/storing files in SuperContainer. You can use SCGetInfo() "in a script trigger" and any other spot you can call plugin functions, just keep in mind that SCGetInfo() works on files that are already being stored by SuperContainer, files that have already been uploaded.

Edited by Guest

  • Author

I don't think I was very clear with what I was asking. The business about SCGetInfo() was just being mentioned anecdotally as a possible method for getting file name info. The inquiry wasn't whether you could use SC plugin commands "in a script trigger" but rather if you could trigger a script in FM10 by simply dropping a file into a SC. User drops a file onto a SC, script executes. Is this possible? Or will a further button click be necessary? As I said I don't have FM10 yet and haven't read extensively about script triggers, just mentally exploring possibilities at this point.

Edited by Guest

It would be possible if SuperContainer applet had a URL triggering function, then you could use a plugin like RemoteScripter to trigger the script.

Let me know if you're interested in us customizing SuperContainer for you and I could estimate the cost.

  • Author

Thanks for the offer but I think just putting a continue button will suffice for our needs.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.