Applescript list signup:
http://lists.apple.com/mailman/listinfo/applescript-users
On Oct 28, 2009, at 10:39 PM, Sivakatirswami wrote:
I better move this over to the Applescript list (can you send me the
URL?) because it's turning into a bigger issue: some network
protocols changed or
I search on the web but no answers.
assume: AFP mount volume Varuna (server across the LAN)
on desktop...
this used to work fine as of 3 days ago
(I builT the script dynamically in runRev)
tell application Finder
open alias Varuna:Ekadanta Kulam:Database:EMBs:78585 Chris Brooking:
end
assume: AFP mount volume Varuna (server across the LAN)
on desktop...
this used to work fine as of 3 days ago
(I builT the script dynamically in runRev)
tell application Finder
open alias Varuna:Ekadanta Kulam:Database:EMBs:78585 Chris Brooking:
end tell
but today AppleScript
Hi Sarah,
That doesn't work if the volume is unavailable. I tried it and got an
error.
Sivakatirswami,
Does this work for you?
tell application Finder
mount volume afp://username:passw...@servername.local/Volume/PathToFolder
end tell
--
Best regards,
Mark Schonewille
Economy-x-Talk
Volume is mounted, no question there
working in ScriptEditor.app just to make sure first...
tell application Finder
choose folder
end tell
I get results
alias Varuna:Ekadanta Kulam:Database:EMBs:3675 Amravadee Kownden:
I copy and paste that to
tell application Finder
open alias
It is best practice to eliminate tell statements where they are not
required.
Finder is not necessary for this command.
choose folder
set f to result
On Oct 28, 2009, at 2:45 PM, Sarah Reichelt wrote:
assume: AFP mount volume Varuna (server across the LAN)
on desktop...
this used to work
Bruce Robertson wrote:
It is best practice to eliminate tell statements where they are not
required.
Finder is not necessary for this command.
choose folder
set f to result
It does not affect anything: result is the same with or without tell
on a folder selection
alias Varuna:Ekadanta
Doesn't my solution work?
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Download Strõm Flow Chart Software
http://flowproject.economy-x-talk.com
On Oct 29, 2009, at 1:45 AM,
It does not affect anything: result is the same with or without tell on a
folder selection
alias Varuna:Ekadanta Kulam:Database:EMBs:733:
then an attempt
tell application Finder
open alias Varuna:Ekadanta Kulam:Database:EMBs:733:
end tell
fails: result: missing value
Does it work if
Not relevant.
You're talking specifics of an extremely simple script.
I'm talking about generalities of applescript programming.
This was the subject of a hundred+ message multi week thread on the
applescript list.
You can get into performance and conflict and confusion issues when
tell
More clues this afternoon:
I have a stack that builds daily blog entries. I read and write from
the server, and move a lot of files around... I have in one of my
utilities stack a script that let's me pull photos from collections and
move them into the folder where I build the blog content.
Bruce, your point is well taken for future needs, but in fact I'm not
actually using choose folder... it was just suggested as a diagnostic
to verify path...as a test... the path I'm using is correct:
the problem script is:
tell application Finder
open alias Varuna:Ekadanta
12 matches
Mail list logo