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.

Troi File Plug in Help!!

Featured Replies

I have run into a problem developing a solution and i ve kind of hit a brick wall but before i tell you more about my wall let me first say that the Troi File Plugin is truely an amazing product.

My Problem:

I have created scripts to copy and move image files to a folder on the database drive and I have gotten it to create thumbnails to populate those containers. However, I have found that i need to write the file extension in the save dialog otherwise it wont fill the container. Is there a way for it to read the File extension and append it in the save dialog when i copy the file to my database drive. I have pasted the script steps i have used mb you can see where i made the mistake.

Secondly I was wondering how you would recommend scripting a duplicate record for a record containing a file in a container field especially if it is a thumbnail and not the actual file. I am really stumped on this one. I would assume the script would involve the following steps

1. Get file path and set a global field

2. Set the destination path

3. Copy the file & rename ( not sure how to script this one)

4. duplicate record

5. create thumbnail & insert in Container field

I would prefer to have the destination path the same as the location its copying from but just append the new name and extension on it that way the user doenst see it happening it just duplicates. I am sure you have been asked this before but I really am stumped and i would like to use this plug in instead of having a super slow database.

Script for 1st question



script1.jpg

copy_the_file.jpg

  • Author

Here are the other 2 scripts called in the inital script.

selectthefilepath.jpg

createthumbnail.jpg

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.