Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Comments for: karsenbarg20031104

Message # 1019016:
Date: 02/22/04 20:16
By: Erik Petersen
Subject: RE: ZEND Studio

Dude,

Where have you been? The problem is operator error not osx or ZS.

Go to /Applications/Zend/bin
Create a new file called runSafari.sh
Paste this in there:

#!/bin/sh
if [ -f $1 ]; then
open -a "/Applications/Safari.app" $1
else
open -a "/Applications/Safari.app"
_NEW_CMD="make new document at end of documents"
_URL_CMD="set url of document 1 to \"$1\""
osascript -e 'tell application "Safari"' -e "$_NEW_CMD" -e "$_URL_CMD" -e 'end tell' > /dev/null
fi

Save it.
Now change the Browser script in ZS to ./runSafari.sh
Have fun.

It's called a shell script. It launches Safari then sends it the AppleScript commands to load the right page. The example above creates a new window for the page.

There is a little program called Terminal you should try sometime. You might find a complete operating system in there.

Previous Message | Next Message


Comments:
RE: Best free PHP IDEGoover02/02/05 03:31
TruStudio - PHP pluginRafael09/18/04 09:55
Zend SutdioMAQ.06/30/04 08:09
RE: ZEND StudioErik Petersen02/22/04 20:16
RE: NuSphere phpEDTim Gibney02/21/04 17:15
ZEND StudioGerald Artman02/08/04 15:27
Another superbbb editor...Werner Reuser01/08/04 06:23
RE: Naw - use dev-phpRasputin12/15/03 19:35
RE: Lots of ParenthesesPiers12/14/03 05:26
NuSphere phpEDAnnie12/06/03 22:48
Komodo 1.5Robert Jackson12/06/03 14:13
could be bettertREXX11/25/03 03:58
Naw - use dev-phpBenjamin Smith11/12/03 02:19
Best free PHP IDEluke11/06/03 08:13
Lots of ParenthesesJeremy Lounds11/05/03 09:11
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.