need advice on self service mount points, and applaunching

tlarkin
Honored Contributor

Ok, I am about to get a few more gray hairs over this. According the
man pages and everything I google I am doing this right but it is not
working.

If I mount the share via the finder it works just fine, no issues. If I
mount it via apple script it works to an extend, if I mount it via
mount_afp no dice.

here is my apple script

tell application "finder"

mount volume "afp://username:password@x.x.x.x:548"

end tell

This works but there are three share points on this server, and if I add
the share point it, it doesn't work, says server does not exist or spits
out a syntax error. Now if I could get this to work

tell application "finder"

mount volume "afp://user:password@x.x.x.x:548/sharepoint"

end tell

I would be golden!

Any advice? Any Novell wizards around here? Also, how well does casper
fair with Apple scripts I normally don't use them?

Thanks,



Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351

3 REPLIES 3

tlarkin
Honored Contributor

(
http://www.novell.com/support/viewContent.do?externalId=3054602&sliceId=1
)
And then to:
http://www.macosxhints.com/article.php?story071028025409750&mode=print
(
http://www.macosxhints.com/article.php?story071028025409750&mode=print
)

You can run:
$ defaults write com.apple.AppleShareClient "afp_cleartext_allow" -bool
YES
$ defaults write com.apple.AppleShareClient "afp_cleartext_warn" -bool
YES

This is for older Novell servers that don’t have Universal passwords set
up on them (they really should, but I doubt I need to tell you that).

For then doing the mounts, we have a set of scripts (I assume this is
NWEA?) that we use to do the mounts and loads of tests. If this is the
case, I can send them along off-list, let me know. Or, for opening
single apps that require a mount point, I use script editor to write an
app and then save it as an app bundle so we can brand it and use it. Below is sample code for this.

if

(list disks) does not contain "VolumeName" then --test to see if volume is already mounted then tell application "Finder" mount volume "afp://user:password@server.domain.org/VolumeName" end tell
end if
--hide volume from desktops so it doesn’t get messed with
do shell script "/usr/bin/SetFile -a V /Volumes/VolumeName"
do shell script "killall Finder"
tell application "System Events" to delay 2
tell application "Finder" open file "Applications:MyApp" of startup disk
end tell

Note in the above that the /usr/bin/SetFile file is from the developer
tools and is used to hide the volume from the desktop. It works much
like the jamf mount –hidden command but this doesn’t seem to hide it
from finder like the jamf one does (which changed in 6) so that apps can
still see the volume. We use this to launch our apps needing a volume,
but don’t use it for testing.

-John

On 3/20/09 11:26 AM, "Thomas Larkin" <tlarki at kckps.org> wrote:

I thought about that, but I don't want all 6,000 clients accessing the
share at once and I also don't want it permanently mounted. In my
experience with this testing app from last year is that it works best if
you stagger connections and testing sessions to say, no more than 400
clients at one time.

I am going to try to invoke apple script from the command line like
suggested and see if it makes a difference.

Thanks for everyone's input and help, it is appreciated.

tom

Not applicable

I haven't tried this against Novell, but this is an AS that I used at my
prior employer for keeping a server volume mounted on a Mass Transit
server. Just edit the the variables:

--remember this info
property TimeToSleep : 900 -- How many seconds until we check again
property MyIP : "10.49.50.2"
property ServerList : {"WIP", "MASSTRANSIT"}
property MyUser : "user"
property MyPassword : "password"

--start work on double-click
on run tell application "Finder" to tell me to idle
end run

--as server watcher
on idle

--start work on double-click tell application "Finder"

--look for mounted volumes repeat with MyVolume in ServerList try set test to disk (MyVolume) as alias on error with timeout of 15 seconds try --mount by TCP/IP mount volume "afp://" & MyUser & ":" & MyPassword &
"@" & MyIP & "/" & MyVolume & "/" end try end timeout end try end repeat

end tell try tell application "Mass Transit" to activate end try return TimeToSleep -- sleep time in seconds

end idle

Hope that helps.

Steve Wood
Director of IT
swood at integerdallas.com

The Integer Group | 1999 Bryan St. | Ste. 1700 | Dallas, TX 75201
T 214.758.6813 | F 214.758.6901 | C 940.312.2475

Not applicable

I seem to have luck using this in applescript:

mount volume 'afp://servername/sharepoint' as user name 'myusername' with
password 'mypassword'

Also, just in case you miss it only because I have in the past, the
sharepoint name is case sensitive.

Yaniv Lugassy, ACSA
Apple Systems Engineer
Promedia Technology Services, Inc.
Office: 973.253.7600 x2308
www.promedianj.com <http://www.promedianj.com>
Fax: 973.253.5601

*Please call 973-774-1120 or e-mail support at promedianj.com
<mailto:support at promedianj.com> for technical support and assistance from
your Promedia support team*
*For all other calls, please contact our Main Number: 973-253-7600

--missing content--

You can run:
$ defaults write com.apple.AppleShareClient "afp_cleartext_allow" -bool YES
$ defaults write com.apple.AppleShareClient "afp_cleartext_warn" -bool YES

This is for older Novell servers that don=B9t have Universal passwords set up
on them (they really should, but I doubt I need to tell you that).

For then doing the mounts, we have a set of scripts (I assume this is NWEA?
)
that we use to do the mounts and loads of tests. =A0If this is the case, I ca
n
send them along off-list, let me know. =A0Or, for opening single apps that
require a mount point, I use script editor to write an app and then save it
as an app bundle so we can brand it and use it. =A0Below is sample code for
this.

if

(list disks) does not contain "VolumeName" then
=A0=A0=A0--test to see if volume is already mounted then
=A0=A0=A0tell application "Finder"
=A0=A0=A0=A0=A0=A0=A0mount volume "afp://user:password@server.domain.org/VolumeName"
=A0=A0=A0end tell
end if
--hide volume from desktops so it doesn=B9t get messed with
do shell script "/usr/bin/SetFile -a V /Volumes/VolumeName"
do shell script "killall Finder"
tell application "System Events" to delay 2
tell application "Finder"
=A0=A0=A0open file "Applications:MyApp" of startup disk
end tell

Note in the above that the /usr/bin/SetFile file is from the developer
tools and is used to hide the volume from the desktop. =A0It works much like
the jamf mount=A0=ADhidden command but this doesn=B9t seem to hide it from finder
like the jamf one does (which changed in 6) so that apps can still see the
volume. =A0We use this to launch our apps needing a volume, but don=B9t use it
for testing.

-John

On 3/20/09 11:26 AM, "Thomas Larkin" <tlarki at kckps.org> wrote:

=A0=A0 =A0 I thought about that, but I don't want all 6,000 clients accessing the s

hare

at once and I also don't want it permanently mounted. =A0In my experience w

ith

this testing app from last year is that it works best if you stagger connections and testing sessions to say, no more than 400 clients at one

time.

=A0 =A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 =A0 I am going to try to invoke apple script from the command line like sugg

ested

--missing content--

&amp;sliceId1</a><BR>
And then to:<BR>
<a href"http://www.macosxhints.com/article.php?story20071028025409750&amp
;modeprint">http://www.macosxhints.com/article.php?story20071028025409750&
amp;modeprint</a><BR>
<BR>
You can run:<BR>
$ defaults write com.apple.AppleShareClient &quot;afp_cleartext_allow&quot; -bool YES<BR>
$ defaults write com.apple.AppleShareClient &quot;afp_cleartext_warn&quot; -bool YES<BR>
<BR>
This is for older Novell servers that don&#8217;t have Universal passwords set up on them (they really should, but I doubt I need to tell you that).<BR
<BR>
For then doing the mounts, we have a set of scripts (I assume this is NWEA?
) that we use to do the mounts and loads of tests. =A0If this is the case, I c
an send them along off-list, let me know. =A0Or, for opening single apps that require a mount point, I use script editor to write an app and then save it as an app bundle so we can brand it and use it. =A0Below is sample code for th
is.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN><FONT SIZE"1"><SPAN STYLE'font-size:9pt'> <BR>
<BR>
&nbsp;<B>if</B> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><SPAN STYLE'font-size:11pt'> <BR>
</SPAN><FONT SIZE"1"><SPAN STYLE'font-size:9pt'> <BR>
<BR>
&nbsp;</SPAN></FONT></FONT><FONT SIZE"1"><SPAN STYLE'font-size:9pt'><FONT FACE"Verdana, Helvetica, Arial">(<FONT COLOR"#1800FF">list disks</FONT>)<
/FONT><FONT FACE"Helvetica, Verdana, Arial"> </FONT><FONT COLOR"#3500FF"><
FONT FACE"Verdana, Helvetica, Arial"><B>does not</B></FONT></FONT><FONT FAC
E"Helvetica, Verdana, Arial"> </FONT><FONT COLOR"#3500FF"><FONT FACE"Verd
ana, Helvetica, Arial"><B>contain</B></FONT></FONT><FONT FACE"Helvetica, Ve
rdana, Arial"> </FONT><FONT FACE"Verdana, Helvetica, Arial">&quot;VolumeNam
e&quot;</FONT><FONT FACE"Helvetica, Verdana, Arial"> </FONT><FONT COLOR"#3
500FF"><FONT FACE"Verdana, Helvetica, Arial"><B>then<BR>
</B></FONT></FONT><FONT FACE"Helvetica, Verdana, Arial">=A0=A0=A0</FONT><FONT FA
CE"Verdana, Helvetica, Arial">--<FONT COLOR"#4B4E4E">test to see if volume is already mounted then<BR>
</FONT></FONT><FONT FACE"Helvetica, Verdana, Arial">=A0=A0=A0</FONT><FONT COLOR
"#3500FF"><FONT FACE"Verdana, Helvetica, Arial"><B>tell</B></FONT></FONT><F
ONT FACE"Helvetica, Verdana, Arial"> </FONT><FONT COLOR"#1800FF"><FONT FAC
E"Verdana, Helvetica, Arial">application</FONT></FONT><FONT FACE"Helvetica
, Verdana, Arial"> </FONT><FONT FACE"Verdana, Helvetica, Arial">&quot;Finde
r&quot;<BR>
</FONT><FONT FACE"Helvetica, Verdana, Arial">=A0=A0=A0=A0=A0=A0=A0</FONT><FONT COLOR"#1
800FF"><FONT FACE"Verdana, Helvetica, Arial">mount volume</FONT></FONT><FON
T FACE"Helvetica, Verdana, Arial"> </FONT><FONT FACE"Verdana, Helvetica, A
rial">&quot;<a href"afp://user:password@server.domain.org/VolumeName">afp:/
/user:password at server.domain.org/VolumeName</a>&quot;<BR>
</FONT><FONT FACE"Helvetica, Verdana, Arial">=A0=A0=A0</FONT><FONT COLOR"#3500F
F"><FONT FACE"Verdana, Helvetica, Arial"><B>end</B></FONT></FONT><FONT FACE
"Helvetica, Verdana, Arial"> </FONT><FONT COLOR"#3500FF"><FONT FACE"Verda
na, Helvetica, Arial"><B>tell<BR>
end</B></FONT></FONT><FONT FACE"Helvetica, Verdana, Arial"> </FONT><FONT C
OLOR"#3500FF"><FONT FACE"Verdana, Helvetica, Arial"><B>if<BR>
</B></FONT></FONT><FONT FACE"Helvetica, Verdana, Arial">--hide volume from desktops so it doesn&#8217;t get messed with<BR>
</FONT><FONT COLOR"#1800FF"><FONT FACE"Verdana, Helvetica, Arial">do shel
l script</FONT></FONT><FONT FACE"Helvetica, Verdana, Arial"> </FONT><FONT F
ACE"Verdana, Helvetica, Arial">&quot;/usr/bin/SetFile -a V /Volumes/VolumeN
ame&quot;<BR>
<FONT COLOR"#1800FF">do shell script</FONT></FONT><FONT FACE"Helvetica, V
erdana, Arial"> </FONT><FONT FACE"Verdana, Helvetica, Arial">&quot;killall Finder&quot;<BR>
<FONT COLOR"#3500FF"><B>tell</B></FONT></FONT><FONT FACE"Helvetica, Verda
na, Arial"> </FONT><FONT COLOR"#1800FF"><FONT FACE"Verdana, Helvetica, Ari
al">application</FONT></FONT><FONT FACE"Helvetica, Verdana, Arial"> </FONT>
<FONT FACE"Verdana, Helvetica, Arial">&quot;System Events&quot;</FONT><FONT FACE"Helvetica, Verdana, Arial"> </FONT><FONT COLOR"#3500FF"><FONT FACE"
Verdana, Helvetica, Arial"><B>to</B></FONT></FONT><FONT FACE"Helvetica, Ver
dana, Arial"> </FONT><FONT COLOR"#1800FF"><FONT FACE"Verdana, Helvetica, A
rial">delay</FONT></FONT><FONT FACE"Helvetica, Verdana, Arial"> </FONT><FON
T FACE"Verdana, Helvetica, Arial">2<BR>
<FONT COLOR"#3500FF"><B>tell</B></FONT></FONT><FONT FACE"Helvetica, Verda
na, Arial"> </FONT><FONT COLOR"#1800FF"><FONT FACE"Verdana, Helvetica, Ari
al">application</FONT></FONT><FONT FACE"Helvetica, Verdana, Arial"> </FONT>
<FONT FACE"Verdana, Helvetica, Arial">&quot;Finder&quot;<BR>
</FONT><FONT FACE"Helvetica, Verdana, Arial">=A0=A0=A0</FONT><FONT COLOR"#1800F
F"><FONT FACE"Verdana, Helvetica, Arial">open</FONT></FONT><FONT FACE"Helv
etica, Verdana, Arial"> </FONT><FONT COLOR"#1800FF"><FONT FACE"Verdana, He
lvetica, Arial">file</FONT></FONT><FONT FACE"Helvetica, Verdana, Arial"> </
FONT><FONT FACE"Verdana, Helvetica, Arial">&quot;Applications:MyApp&quot;</
FONT><FONT FACE"Helvetica, Verdana, Arial"> </FONT><FONT COLOR"#3500FF"><F
ONT FACE"Verdana, Helvetica, Arial"><B>of</B></FONT></FONT><FONT FACE"Helv
etica, Verdana, Arial"> </FONT><FONT COLOR"#1800FF"><FONT FACE"Verdana, He
lvetica, Arial">startup disk<BR>
</FONT></FONT><FONT FACE"Verdana, Helvetica, Arial"><FONT COLOR"#3500FF">
<B>end</B></FONT></FONT><FONT FACE"Helvetica, Verdana, Arial"> </FONT><FONT COLOR"#3500FF"><FONT FACE"Verdana, Helvetica, Arial"><B>tell<BR>
</B></FONT></FONT><FONT FACE"Calibri, Verdana, Helvetica, Arial"> &nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</FONT></SPAN></FONT><FONT FACE"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;<BR>
&nbsp;Note in the above that the /usr/bin/SetFile file is from the develope
r tools and is used to hide the volume from the desktop. =A0It works much like the jamf mount=A0&#8211;hidden command but this doesn&#8217;t seem to hide it from finder like the jamf one does (which changed in 6) so that apps can st
ill see the volume. =A0We use this to launch our apps needing a volume, but do
n&#8217;t use it for testing.<BR>
<BR>
-John<BR>
<BR>
<BR>
On 3/20/09 11:26 AM, &quot;Thomas Larkin&quot; &lt;<a href"tlarki at kckps.or
g">tlarki at kckps.org</a>&gt; wrote:<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE"Calibri, Verdana, Helvetica, Arial"><
SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;=A0=A0<BR>
<BR>
=A0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN><FONT SIZE"4"><SPAN STYLE'font-size:14pt'> <BR>
<BR>
&nbsp;I thought about that, but I don't want all 6,000 clients accessing th
e share at once and I also don't want it permanently mounted. =A0In my experie
nce with this testing app from last year is that it works best if you stagge
r connections and testing sessions to say, no more than 400 clients at one t
ime. =A0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;=A0=A0=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0<BR>
<BR>
=A0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN><FONT SIZE"4"><SPAN STYLE'font-size:14pt'> <BR>
<BR>
&nbsp;I am going to try to invoke apple script from the command line like s
uggested and see if it makes a difference. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;=A0=A0=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0<BR>
<BR>
=A0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN><FONT SIZE"4"><SPAN STYLE'font-size:14pt'> <BR>
<BR>
&nbsp;Thanks for everyone's input and help, it is appreciated. &nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;=A0=A0=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0<BR>
<BR>
=A0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN><FONT SIZE"4"><SPAN STYLE'font-size:14pt'> <BR>
<BR>
&nbsp;tom<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;<BR>
&nbsp;&gt;&gt;&gt; Miles Leacy &lt;<a href"miles.leacy at themacadmin.com">mi
les.leacy at themacadmin.com</a>&gt; 03/20/09 11:21 AM &gt;&gt;&gt;<BR>
Are you using Open Directory? You can set a share as a login item via Workg
roup Manager. I'm not sure of the applicable MCX settings off the top of my head, but if WGM can do it, you can push the MCX via a dscl script.<BR>
<BR>
----------<BR>
Miles A. Leacy IV<BR>
<BR>
&#63743; Certified System Administrator<BR>
&#63743; Certified Trainer<BR>
Certified Casper Administrator<BR>
----------<BR>
voice: 1-347-277-7321<BR>
<a href"miles.leacy at themacadmin.com">miles.leacy at themacadmin.com</a><BR>
www.themacadmin.com &lt;<a href"http://www.themacadmin.com">http://www.the
macadmin.com</a>&gt;<BR>
<BR>
<BR>
<BR>
<BR>
=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A02009/3/20 Thomas Larkin =A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0&lt;<a href"tlarki at kckps.org">tlarki at kckps.org</a>&gt; =A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE"Calibri, Verdana, Helvetica, Arial"><
SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;<BR>
&nbsp;=A0<BR>
<BR>
=A0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN><FONT SIZE"4"><SPAN STYLE'font-size:14pt'> <BR>
<BR>
&nbsp;Still no dice. The problem I think I am having is that these shares a
re on old Netware 6.5 servers and 6.5 supports AFP but heck if I know what v
ersion of AFP it is. I do know that it is old enough that it does not suppor
t encrypted passwords. If I recall you need to have universal passwords enab
led and well the Novell side is being migrated to SuSe but I am not really a part of that project. Different network admins. &nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN><FONT SIZE"4"><SPAN STYLE'font-size:14pt'> <BR>
<BR>
&nbsp;So, I can hit cmd + K and connect to the file share just fine. I can'
t connect via command line. I don't know if there is actually a difference. DNS is kind of weird because we have an old DNS running on some legacy syste
ms, which it is running an older DNS for these file shares. At this point in time I am almost considering hosting the database file on one of my Mac ser
vers instead. I don't know how well that will fare though, and my window to get this working is getting shorter and shorter. &nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN><FONT SIZE"4"><SPAN STYLE'font-size:14pt'> <BR>
<BR>
&nbsp;I just want to create a generic account, grant it access to this one particular file on a network share so the application can write data to the database file. Once the file share is mounted the application launches and t
akes care of the rest. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;<BR>
&nbsp;<BR>
</SPAN></FONT><SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN><FONT SIZE"4"><SPAN STYLE'font-size:14pt'> <BR>
<BR>
&nbsp;It works if I do it manually, no problem. I however, want to have the end user click one self service policy and have all the work done for them under the hood. That way they just click and it works. &nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN><FONT SIZE"4"><SPAN STYLE'font-size:14pt'> <BR>
<BR>
&nbsp;I was looking at Apple Scripts but those can be interrupted by the en
d user. I'd rather it work under the hood via a shell script. &nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
=A0___________________________<BR>
Thomas Larkin<BR>
TIS Department<BR>
KCKPS USD500<BR>
<a href"tlarki at kckps.org">tlarki at kckps.org</a><BR>
blackberry: 913-449-7589<BR>
office: 913-627-0351<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0&gt;&gt;&gt; Eric Winkelhake &lt;<a href"eric.winkelhake at mundocomww.com">
eric.winkelhake at mundocomww.com</a>&gt; 03/19/09 5:29 PM &gt;&gt;&gt; =A0=A0=A0=A0=A0=A0=A0
=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0I think he's looking to have the user log in with their creds, right?? so actually that osascript works if you remove the user name and password part. that'll make the finder request that the user log in rather then the shell.
<BR>
<BR>
eric winkelhake<BR>
mundocomww<BR>
office 312 220 1669<BR>
cell 312 504 5155<BR>
<BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0=A0<BR>
=A0=A0=A0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN><FONT SIZE"2"><SPAN STYLE'font-size:10pt'> <BR>
<BR>
&nbsp;<B>Yaniv Lugassy &lt;<a href"ylugassy at promedianj.com">ylugassy at prome
dianj.com</a></B> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><SPAN STYLE'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN><FONT SIZE"2"><SPAN STYLE'font-size:10pt'> <BR>
<BR>