At 12:34 +0200 16/08/2011, Marek Stepanek wrote:
...I did not realized, that the normal user is not able to save
files into ~/Library any more ... What is this? How are we supposed
to do it? Apple is putting us more and more under tutelage.
iSpy
Even in SL I find navigating in the Save dialog a bore. Here's an
Applscript script specifically for saving text filters, clippings
etc. written within BBEdit.
The script asks a name for the document, if it is not already saved,
and then tells you to save. When you do Save it will suggest the
name you have given for the file and you will need to navigate only
from ~/library/application support/bbedit/. If you only write text
filters then you can change the value of NSNavLastRootDirectory in
the script to that directory.
set _bbesupport to "'~/library/application support/bbedit/'"
do shell script "
defaults write com.barebones.bbedit NSNavLastRootDirectory " & _bbesupport
tell application "BBEdit"
set _file to file of front document
set _nextstep to "Now do \"File::Save As...\""
if _file is missing value then
set _dialog to display dialog "
Save (script etc.) as ..." default answer "" with icon 1
set _name to text returned of _dialog
set the name of the front window to _name
set _nextstep to "Now type ?s"
end if
display dialog "
" & _nextstep with icon 1 buttons "OK" giving up after 2
end tell
-- JD
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>