Skip to main content
DuanesSearchForKnowledge
Inspiring
August 12, 2013
Question

opening a file

  • August 12, 2013
  • 1 reply
  • 850 views

can anyone tell me why this does not work?

app.open(file."/c/HGL00013.pdf", DocumentColorSpace.RGB)

This topic has been closed for replies.

1 reply

CarlosCanto
Community Expert
Community Expert
August 12, 2013

the Open Method first argument expects a File Object, you're supplying...what are you supplying?

DuanesSearchForKnowledge
Inspiring
August 12, 2013

i was supplying the file path and the file name c:HGL00013.pdf

the file is on the C: drive and the file is named HGL00013.pdf.

i thought it wanted to know the path and the file name to open the file.

Inspiring
August 12, 2013

app.open( File( "/c/HGL00013.pdf" ), DocumentColorSpace.RGB )