Re: upload via ftp: open in browser in one step
Re: upload via ftp: open in browser in one step
- Subject: Re: upload via ftp: open in browser in one step
- From: Chris Adams <email@hidden>
- Date: Mon, 30 Apr 2001 23:35:57 -0400
On 4/26/01 7:28 AM jake williamson 28 wrote:
... this means
>
that every time i want to test something, i just hit save in bbedit and
>
switch to my browser and hit refresh. wicked!
>
>
can this be done? i've looked about and tried it but no joy.
>
>
any help will be appreciated,
I do this in one keystroke when I work locally. I just hit the keystroke
that I set and the file is saved and the web page is opened in IE 4.5
I put this script in the BBedit scripts folder and assign a keystroke to it:
tell application "BBEdit 5.1"
save document 1
set theDocAlias to file of document 1 as alias
end tell
tell application "Internet Explorer 4.5"
Activate
open theDocAlias
end tell
=====
This opens the file from BBedit's local cache, so it might not work so well,
especially for php. However, if you built theDocAlias as a URL string using
the file name, it would work from your remote server.
Good luck and I hope that this helps.
--
Chris Adams
Cypress Lake Studios
Hypermedia, Quicktime, and Internet Design
http://www.cypresslakestudios.com
email@hidden