Ronaldinho
Registered
Hi.
i've made a script so i mount my nas folder.
But i've got a ?.
Can i do i so i first ask for the afp network local then the External something like This.
**
tell application "Finder"
set Archive to "afp://Username
assword@192.168.1.5/Archive"
if not (exists Archive) then
mount volume Archive
else
set Archive to "afp://Username
assword@My Public IP/Archive"
mount volume Archive
end if
end tell
**
Or do i have to make 2 scripts one for the Local IP, and one for the WAN IP?
i've made a script so i mount my nas folder.
But i've got a ?.
Can i do i so i first ask for the afp network local then the External something like This.
**
tell application "Finder"
set Archive to "afp://Username

if not (exists Archive) then
mount volume Archive
else
set Archive to "afp://Username

mount volume Archive
end if
end tell
**
Or do i have to make 2 scripts one for the Local IP, and one for the WAN IP?
Last edited: