Help me! Open notepad file on node-red.

88 views
Skip to first unread message

phuc huynh

unread,
Dec 31, 2017, 4:49:23 AM12/31/17
to Node-RED
Hi everybody,
I created a button on dashboard. I want to click the button to open the notepad file. 
Can anyone help me? Thank you.

Colin Law

unread,
Dec 31, 2017, 4:54:43 AM12/31/17
to node...@googlegroups.com
Do you mean you want to download it from the computer running node-red to the computer running the browser?

Colin

--
http://nodered.org
 
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/be1050e6-f810-46e2-b5e4-9b6ac6ea9509%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

phuc huynh

unread,
Dec 31, 2017, 5:04:16 AM12/31/17
to Node-RED
Currently, my computer is running Node-red and I have a notepad file in Disk C. i want to click the button to open it.

Vào 16:54:43 UTC+7 Chủ Nhật, ngày 31 tháng 12 năm 2017, Colin Law đã viết:
Do you mean you want to download it from the computer running node-red to the computer running the browser?

Colin
On 31 December 2017 at 09:49, phuc huynh <huynhp...@gmail.com> wrote:
Hi everybody,
I created a button on dashboard. I want to click the button to open the notepad file. 
Can anyone help me? Thank you.

--
http://nodered.org
 
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.

Colin Law

unread,
Dec 31, 2017, 5:15:12 AM12/31/17
to node...@googlegroups.com
You could use an exec node to run notepad via a script I suppose. Note though, that if you opened the browser on a different computer to the one running node-red that the file would open on the node-red computer, not on the computer running the browser.

Colin

To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.

To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.

phuc huynh

unread,
Dec 31, 2017, 5:32:31 AM12/31/17
to Node-RED
Can you guide me, please? 

Vào 17:15:12 UTC+7 Chủ Nhật, ngày 31 tháng 12 năm 2017, Colin Law đã viết:

Julian Knight

unread,
Dec 31, 2017, 6:04:07 AM12/31/17
to Node-RED
Start by deciding whether you need the text file displaying in the browser or in notepad.exe. Both options are possible with Node-RED running on a Windows PC.

Then decide how you will identify the file in question - is it always the same file? Might it change? Would it change often or might you want to select from a number of files?
Message has been deleted
Message has been deleted

phuc huynh

unread,
Dec 31, 2017, 7:33:52 AM12/31/17
to Node-RED
I want to display all data in notepad file. Data changes frequently.

phuc huynh

unread,
Dec 31, 2017, 7:35:33 AM12/31/17
to Node-RED
I want to display all data in notepad file. Data changes frequently.

Vào 18:04:07 UTC+7 Chủ Nhật, ngày 31 tháng 12 năm 2017, Julian Knight đã viết:

phuc huynh

unread,
Dec 31, 2017, 8:51:09 AM12/31/17
to Node-RED
I did it. thank you very much
Reply all
Reply to author
Forward
0 new messages