pibakery icon indicating copy to clipboard operation
pibakery copied to clipboard

Custom Scripts Block

Open roboflank opened this issue 9 years ago • 7 comments

Great Work,

Can there be a feature for adding a custom scripts, like for example running a nodejs script?

Thanks.

roboflank avatar Sep 20 '16 12:09 roboflank

Do you mean a block where you can paste in a large block of text, and it would be saved as a file?

davidferguson avatar Sep 21 '16 18:09 davidferguson

@davidferguson not really, but custom commands.

roboflank avatar Sep 22 '16 15:09 roboflank

Like a shell script for example

roboflank avatar Sep 22 '16 15:09 roboflank

Like running a script? There is the Run command block, which allows you to input a command to run (such as touch /boot/test or mkdir -p /my/new/directory) is this what you are meaning?

davidferguson avatar Sep 25 '16 23:09 davidferguson

Run command should work for what denzel needs, I use it a lot to create all kinds of things I just wish I could assign a description/title to it.

LowPowerLab avatar Nov 09 '16 22:11 LowPowerLab

Hello Guys,

I needed to run nodejs scripts after installation and startup.

The new pi Pixel OS comes with Nodejs pre-installed.

Let me give it a try and update you guys.

On Thu, Nov 10, 2016 at 1:07 AM, Felix Rusu [email protected] wrote:

Run command should work for what denzel needs, I use it a lot to create all kinds of things I just wish I could assign a description/title to it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davidferguson/pibakery/issues/44#issuecomment-259540584, or mute the thread https://github.com/notifications/unsubscribe-auth/AGOuF4htCYm94wk48aO-CeSZkkKfQ5Xsks5q8kQjgaJpZM4KBk9z .

roboflank avatar Nov 10 '16 04:11 roboflank

Do you mean a block where you can paste in a large block of text, and it would be saved as a file?

That doesn't sound like it's what he meant, but I for one could really use such a block. I have a ~40 line shell script I need to run on startup and adding 40 individual command blocks is a bit much. Alternatively, having the ability to copy any local file to a directory in the image would probably be useful in more instances.

alandsidel avatar Nov 19 '20 18:11 alandsidel