At 22:50 -0700 21/06/2011, Warren Michelsen wrote:
When run, this warns me that Unix filters require Unix line endings
and that temp.pl does not have them.
That's odd. What programme did you use to create the script? I
didn't have this problem with AppleScript Editor but I can imagine
My apologies Steve, it does indeed work correctly. My syntax coloring was
throwing me off a bit.
As an aside, I tried this same situation in several other editors and many
of them incorrectly colored the code as well. Only two of the ones I tried
got it correct. But BBEdit gets so many other
At 10:02 AM +0100 6/22/11, John Delacour sent email regarding Re:
Delete Table Column X:
At 22:50 -0700 21/06/2011, Warren Michelsen wrote:
When run, this warns me that Unix filters require Unix line endings
and that temp.pl does not have them.
That's odd. What programme did you use to
This ought to be very easy. I have html documents containing tables. No colspan
or rowspan properties are used so each table row has the same number of columns.
The documents are formatted such that each table row is one line in the
document; the line starts with tr and ends with /tr so that a
I think it is going to be easy.
tell application BBEdit
set the_text to the selection
set my_line to line 1 of the_text
end tell
Not paragraph 1. Line 1. Took a long time to trial-and-error that over here.
c
On Jun 22, 2011, at 8:52 AM, Warren Michelsen wrote:
This ought to be very easy. I
On Jun 22, 5:56 am, ryentzer r...@forbenmedia.com wrote:
My apologies Steve, it does indeed work correctly. My syntax coloring was
throwing me off a bit.
Glad to hear it!
I use this to switch syntax coloring between my programming language,
HTML and javascript, all with a keyboard shortcut in
Hi folks.
For the life of me I can't find a way of opening a file in a
subdirectory in my webserver directory.
set myF to file /Library/WebServer/Documents/alpha/bravo/items.lasso
tell application BBEdit 9.6
open myF as alias
end tell
It says can't get the file. I know it's there.
it may be a permissions issue, try setting permission to 755 or 777 and try
again
bo huttinger
On Wed, Jun 22, 2011 at 3:04 PM, Rich F beer...@gmail.com wrote:
Hi folks.
For the life of me I can't find a way of opening a file in a
subdirectory in my webserver directory.
set myF to file
Rich F beer...@gmail.com sez:
For the life of me I can't find a way of opening a file in a
subdirectory in my webserver directory.
set myF to file /Library/WebServer/Documents/alpha/bravo/items.lasso
tell application BBEdit 9.6
open myF as alias
end tell
It says can't get the file. I
Hi Bo. Thanks for the reply.
Unfortunately that didn't work either on 777.
On 2011-06-22, at 3:15 PM, Robert Huttinger wrote:
it may be a permissions issue, try setting permission to 755 or 777 and try
again
--
You received this message because you are subscribed to the
BBEdit Talk
Hi Patrick.
That resulted in a doesn't understand the open message. If I want to avoid
the POSIX syntax, do I use colons? Still didn't work.
On 2011-06-22, at 3:25 PM, Patrick Woolsey wrote:
The path format doesn't match; assuming you want to use Unix paths:
set myF to POSIX file
there are 2 kinds of paths you can use you may want to do a search and get
the syntax right. this is a little tricky on its face...
bo huttinger
On Wed, Jun 22, 2011 at 3:30 PM, BeeRich beer...@gmail.com wrote:
Hi Patrick.
That resulted in a doesn't understand the open message. If I want to
OK, got it to work:
open myF as alias
Any clarification on the POSIX notation?
Thanks Patrick!
On 2011-06-22, at 3:25 PM, Patrick Woolsey wrote:
set myF to POSIX file /Users/pwoolsey/Desktop/foo.txt
tell application BBEdit
open myF
end tell
--
You received this message because
On Jun 22, 2011, at 14:04 , Rich F wrote:
Hi folks.
For the life of me I can't find a way of opening a file in a
subdirectory in my webserver directory.
set myF to file /Library/WebServer/Documents/alpha/bravo/items.lasso
tell application BBEdit 9.6
open myF as alias
end
Rick, actually, I think BBEdit is doing it right in this case, it looks like
your syntax is in error.
Try this:
div class=?php post_class(); ? id=post-?php the_ID(); ?
Pastebin also has trouble with the syntax as presented:
http://pastebin.com/t7V37aQJ
Cheers!
Also, Steve, thanks for
(not sure if this went through)
OK, got it to work:
open myF as alias
Any clarification on the POSIX notation?
Thanks Patrick!
On 2011-06-22, at 3:25 PM, Patrick Woolsey wrote:
set myF to POSIX file /Users/pwoolsey/Desktop/foo.txt
tell application BBEdit
open myF
end tell
--
You
I tried recording it, but she wouldn't give me any syntax.
Tried colons, didn't work.
Cheers
On 2011-06-22, at 3:12 PM, Lorin Rivers wrote:
Glen,
In all my scripts that open files, I use this structure instead:
open {file infernal:private:etc:apache2:httpd.conf}
Which is
At 12:04 -0700 6/22/11, Rich F wrote:
For the life of me I can't find a way of opening a file in a
subdirectory in my webserver directory.
set myF to file /Library/WebServer/Documents/alpha/bravo/items.lasso
tell application BBEdit 9.6
open myF as alias
end tell
I'm biased but the
But then I can't initiate it from FileMaker. That's the whole point of this.
If I was in BBEdit originally then I could just click on a Text Factory. I
need FMP to launch that TF, but only after the file has been opened.
On 2011-06-22, at 3:58 PM, Doug McNutt wrote:
I'm biased but the
this is like asking peter to punch paul for you but, if you open automator
and your start a 'watch me do' session and select a folder, then stop. when
finished you will have a list of items in the watch me do section. drag the
'select folder' (or similar) below the watch me do action and it will
Yes. I didn't know you were using Automator. I was trying to record in the AE
window.
On 2011-06-22, at 4:04 PM, Robert Huttinger wrote:
this is like asking peter to punch paul for you but, if you open automator
and your start a 'watch me do' session and select a folder, then stop. when
Actually, while we are on topic, how do I select a text factory for the open
file?
As an option, I'm trying to use AppleScript syntax for a single replace and
save. This is what I have for the replace, and she's not compiling:
replace \x0B using \r searching in selection of text window 1
Sorry, yes I know :) I was trying to give you a local option of
viewing the exact syntax you were looking for but my way is
confusing...
Sent from my iPhone
On Jun 22, 2011, at 4:21 PM, BeeRich beer...@gmail.com wrote:
Yes. I didn't know you were using Automator. I was trying to record in
Hey no apologies required. That's a great tool. I should use that in the
future.
On 2011-06-22, at 4:23 PM, Robert Huttinger wrote:
Sorry, yes I know :) I was trying to give you a local option of
viewing the exact syntax you were looking for but my way is
confusing...
--
You received
Why does this code as a Unix filter not delete table column 1?
#!/usr/bin/perl
s/(^tr)(td.*?\/td)(td.*?\/td)(td.*?\/td)(\/tr)/\1\3\4\/tr/;
print;
Instead, all selected text is replaced with nothing. What about this
script is malformed?
--
You received this message because you are
On Jun 22, 2011, at 10:52, Warren Michelsen wrote:
Now then, I seem to be having a problem using AS to select the first line of
a document's selection. I've tried all kinds of things up to:
set my_line to paragraph 1 of the selection of text document 1 of text
window 1
BeeRich beer...@gmail.com sez:
That resulted in a doesn't understand the open message.
Should work; what was the exact text of your script? (and, did you replace
my example path with a valid path? :)
If I want to avoid the POSIX syntax, do I use colons?
Yes; in that case you should write the
On Jun 22, 2011, at 14:04, Rich F wrote:
For the life of me I can't find a way of opening a file in a subdirectory in
my webserver directory...
set myF to file /Library/WebServer/Documents/alpha/bravo/items.lasso
__
Hey Rich,
At 07:19 -0700 22/06/2011, Warren Michelsen wrote:
OK, I get it. It just changes the typed digit. Concocting the script
to find/replace is for me to do!
RIght! Exactly as I said at the time. And if you'd taken the trouble
to see what it was doing, you would not have needed to post your next
At 6:03 PM -0400 6/22/11, Ronald J Kimball sent email regarding Re:
Delete Table Column X:
By the way, you can use a character other than / as the delimiter, to avoid
escaping:
#!/usr/bin/perl -p
s{(^tr)(td.*?/td)(td.*?/td)(td.*?/td)(/tr)}{$1$3$4/tr};
Excellent. Using JD's nifty creation of
At 4:30 PM -0500 6/22/11, Christopher Stone sent
email regarding Re: First Line of Selection?:
On Jun 22, 2011, at 10:52, Warren Michelsen wrote:
Now then, I seem to be having a problem using
AS to select the first line of a document's
selection. I've tried all kinds of things up
to:
set
Hi Chris. Got it to work with colons and an alias in there.
Cheers
On 2011-06-22, at 6:16 PM, Christopher Stone wrote:
Hey Rich,
It's been mentioned that you're using the wrong syntax there to reference a
file 'as alias'.
--
You received this message because you are subscribed to
I would very much appreciate any thoughts I could get from this
bastion of experience on the best approach to designing a
website which includes permitting selected users to
update/modify content only.
I want a small handful of involved users to be able to update
content only without
On Thu, Jun 23, 2011 at 15:22, Jack Stewart ja...@amug.org wrote:
I would very much appreciate any thoughts I could get from this bastion of
experience on the best approach to designing a website which includes
permitting selected users to update/modify content only.
It's off-topic for this
Without going the full database route... Well there are many approaches.
Without a database I might have page sections loaded from XML or csv.
You can use php to read, parse, and rewite the file with an admin
section but then you run into security issues etc
It's a big open ended question that
Have them modify only shtml ssh include files.
Other than that, you're looking at a database driven site.
On 2011-06-22, at 11:42 PM, Robert Huttinger wrote:
I would very much appreciate any thoughts I could get from this bastion of
experience on the best approach to designing a
You're looking for a content management system, or CMS. There's lots
out there. I've used Drupal extensively and it's both easy and
powerful. Joomla is another one I've used, more publishing oriented
if you will. Then if you're looking blogish: wordpress has both
hosted and software options.
My 2-cents - and these are just my opinions as an engineer so please
no flaming :)
1) I like both WordPress and Drupal
2) I am a Drupal advocate, however, in the following cases (including
my own consulting work):
a) if you need to lots of custom things
b) if you are fluent in php and are
38 matches
Mail list logo