# Scripting Error can't get past this error

**URL:** <https://forum.inductiveautomation.com/t/scripting-error-cant-get-past-this-error/24439>\
**Category:** Ignition\
**Created:** [April 27, 2019, 5:05pm UTC](https://forum.inductiveautomation.com/t/scripting-error-cant-get-past-this-error/24439 "2019-04-27T17:05:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcamp1](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@dcamp1](https://forum.inductiveautomation.com/u/dcamp1)\
**Post date:** [April 27, 2019, 5:05pm UTC](https://forum.inductiveautomation.com/t/scripting-error-cant-get-past-this-error/24439/1 "2019-04-27T17:05:52Z")

</div>

“”"  
path = system.file.openfiles([“pdf”], [“c:\worksoftware”])

“”"

I have a button with this script under “Actionpreformed” and I can’t get past this error.

"Object has no attribute ‘openfiles’ - I have tried without the brackets also and same error.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 27, 2019, 5:25pm UTC](https://forum.inductiveautomation.com/t/scripting-error-cant-get-past-this-error/24439/2 "2019-04-27T17:25:47Z")

</div>

Perspective or Vision?

Use 3 backticks for code quotes, btw.

---

<div class="post-metadata">

**Author:** ![dcamp1](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@dcamp1](https://forum.inductiveautomation.com/u/dcamp1)\
**Post date:** [April 27, 2019, 7:05pm UTC](https://forum.inductiveautomation.com/t/scripting-error-cant-get-past-this-error/24439/3 "2019-04-27T19:05:17Z")

</div>

Sorry, I thought is was 3 quotes.

I figured this out I have to type in system. (And then ctrl +space to drill down) I was just typing the information .

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 27, 2019, 8:09pm UTC](https://forum.inductiveautomation.com/t/scripting-error-cant-get-past-this-error/24439/4 "2019-04-27T20:09:27Z")

</div>

You don’t have to use the autocomplete but you do have to pay attention to capitalization and spelling.

---

<div class="post-metadata">

**Author:** ![dcamp1](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@dcamp1](https://forum.inductiveautomation.com/u/dcamp1)\
**Post date:** [April 28, 2019, 1:32am UTC](https://forum.inductiveautomation.com/t/scripting-error-cant-get-past-this-error/24439/5 "2019-04-28T01:32:13Z")

</div>

I did check spelling but I did not pay attention to capitalization. Thanks for the tips.
