Skip to main content
jamesf42245324
Inspiring
Dec 15, 2023 7:19 PM UTC
Question

"util is undefined"

function readFileToText(input) {
  //let file = input.files[0];


//Read file data into stream
var stmFileData = util.readFileIntoStream(input);

// Convert data into a String
var strTextData = util.stringFromStream(stmFileData);
alert(strTextData);
}
This topic is closed to new replies. Start a new post to keep the conversation going.

10 replies

Bernd Alheit
Community Expert
Community Expert
Dec 16, 2023 6:30 AM UTC

This forum is for issues with Adobe Acrobat, not Powershell.

Translate
jamesf42245324
Inspiring
Dec 18, 2023 1:32 PM UTC

It is script I am writing exstend script using visual studio code.  

Translate
try67
Community Expert
Community Expert
Dec 15, 2023 11:38 PM UTC

We're not mind-readers. If you want help you need to provide more details.

Translate
Joel Geraci
Community Expert
Community Expert
Dec 15, 2023 9:06 PM UTC

Where exactly are you trying to run this?

Translate
jamesf42245324
Inspiring
Dec 18, 2023 1:30 PM UTC

it is scrpt i am tring to run photoshop

Translate
Bernd Alheit
Community Expert
Community Expert
Dec 18, 2023 1:53 PM UTC

Try the forum for Photoshop.

Translate
kglad
Community Expert
Community Expert
Dec 15, 2023 8:31 PM UTC

assuming acrobat...

 

-----

in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.



<"moved from using the community">
Translate
jamesf42245324
Inspiring
Dec 15, 2023 7:20 PM UTC

Translate