Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
5ytech
Visitor

How to open .brs file in mac

Hi i am new to Roku SDK, i am not sure how to open .brs files on mac and how to run text editor in terminal to debug the code?

Can any one let me know please?
0 Kudos
1 REPLY 1
destruk
Streaming Star

Re: How to open .brs file in mac

To open a brs file -
Navigate to your Applications folder and double-click TextEdit.
Your TextEdit window opens.

Press Command+O.
The Open dialog appears.

Navigate to the desired text file and double-click the filename to load it.
You can also open an existing text file by dragging its icon from the Finder window to the TextEdit icon.

Click the insertion cursor anywhere in the file and begin typing.
To edit existing text, drag the insertion cursor across the characters to highlight them and type the replacement text. TextEdit automatically replaces the existing characters with those that you type. To simply delete text, highlight the characters and press Delete.

Press Command+S.
This saves your changes. Alternatively, you can save a new version by choosing File→Save As and typing a new, unique filename.


The internet is great for these types of questions. For the debug window your browser should be able to display port 8085 - http://ipaddress of roku:8085
Or you could do a search on 'telnet' for mac which would eventually get you to another step by step site like this one - http://www.ehow.com/how_2248399_use-tel ... -os-x.html

edit - if you are unable to open a .brs file due to it being an unrecognized filetype, either rename it to .txt so you can use textedit and then rename it when your changes are done, or use TextWrangler which will open it as a brs file - http://www.barebones.com/products/textwrangler/ - or you could probably simplify the whole development process by using the Eclipse IDE for mac and installing the plugin for Roku/Brightscript -
EclipseIDE is here: http://www.eclipse.org/downloads/?osType=macosx
The plugin and instructions are pinned at the top of this forum - viewtopic.php?f=34&t=51738
0 Kudos