Jump to content

Scribe FileAsText for a reference url?


mebrett
 Share

This topic is 4347 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi all,

I would like to grab the text from a word doc and insert it into a field. I know that Scribe can do this for a container, but I'm not using containers for my documents. Instead, I use a stored filepath, file name, and extension to create a URL for OpenURL. I've tried building a script where ScribeDocLoad (filepath & file name & ext ) but it comes up with an error. Am I attempting the impossible?

Link to comment
Share on other sites

ScribeDocLoad is the correct function to use. What is the path that you are using? Make sure that the path you are passing in is correct and points to a valid file.

ScribeDocLoad("/Users/myUser/Desktop/somefile.doc")

You can see what your error is by calling ScribeLastError after receiving "ERROR" from a function.

Link to comment
Share on other sites

This topic is 4347 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

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