Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jakaj

macrumors member
Original poster
Oct 12, 2006
53
0
Hi,

is it possible to create an icon that would execute a bash script or another command?

I guess that should be possible on OS X too, since it's possible on every other UNIX based system. Heck, you can also do it in windows.

One other small thing:
Is it possible to make the dashboard pre-load the widgets. As it currently is, the first time I open the dashboard, widgets start loading, and that takes quite some time...

Jaka
 
jakaj said:
Hi,

is it possible to create an icon that would execute a bash script or another command?

I guess that should be possible on OS X too, since it's possible on every other UNIX based system. Heck, you can also do it in windows.

One other small thing:
Is it possible to make the dashboard pre-load the widgets. As it currently is, the first time I open the dashboard, widgets start loading, and that takes quite some time...

Jaka

If you know bash scripting, you can do it simply by writing a plain file with text in it and executing it from the terminal like you would any other program.
 
Hobofuzz said:
If you know bash scripting, you can do it simply by writing a plain file with text in it and executing it from the terminal like you would any other program.
Yah... I know.

I'm asking if there's a possibility to launch it _WITHOUT_ opening a terminal first.

In Windows/Linux/almost every other OS, you can do something like 'create a shortcut' and then set which command is to be executed (along with working directory, environment vars, etc...).
 
jakaj said:
Hi,

is it possible to create an icon that would execute a bash script or another command?

Jaka

AppleScript will do it. What exactly are you wanting to do?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.