Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is there a dashboard widget that one can use to persistently edit a text file?

For example, suppose I want to have my changelog open all the time in a Git repository.

Many thanks.

share|improve this question
add comment

2 Answers

I looked at Apple's Dashboard developer documentation and it seems that widgets run in a sort of sandbox within their 'bundle', almost like iOS apps do. That would make it very difficult to implement a text editing widget.

There have been known vulnerabilities in the past, such as this one in OS X 10.4, that probably make it even more difficult now to circumvent the Dashboard 'sandbox'.

I browsed the different OS X Dashboard widgets in Apple's widget directory and there doesn't seem to be any widgets that may do what you need. Here is the developer widgets section, for instance.

There may not be a widget that does exactly what you're looking for. If there is one, it would be a great thing to know about; as I also think that having a quick notepad of sorts in the Dashboard would be quite useful. Good luck on your search.

share|improve this answer
1  
I don't think this is quite correct. The documentation clearly states that Dashboard widgets can request permission to read files directly from the filesystem, or to run arbitrary command-line programs. –  jmk Mar 20 '13 at 8:53
add comment

Dashboard widgets are simple HTML applets, built using HTML, CSS & Javascript. So if there is a way to create an HTML webpage that does this functionality (namely, auto-loading a text file in an editable field with an option to refresh and save), then this can also be accomplished within a Dashboard widget.

It may be worth asking some of the folks at StackOverflow if you need help learning the code to accomplish this (web coding is better suited to that community), and you can use tools like Dashcode or Hype (my recommendation) to actually create your widget.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.