Thursday, November 23, 2017

#1 2014-06-12 12:47:12 pm

FlameCoder
Member
From:: USA
Registered: 2009-10-28
Posts: 82

Folder Action on Network Folder.

Using Automator I've attached a folder action to a Windows network folder. Here is a simple script to show the problem…
on run {}
    tell application "System Events"
        set artistName to long user name of (get system info)
    end tell
    tell application "Finder"
        display dialog artistName
    end tell
end run

Problem is other computers on the network will drop files into folder and it pops up the dialog on the machine that attached the folder action. I want the script to focus on the machine that dropped the files.

How do you do this?

Model: Mac Pro 3.2 GHz Quad-Core Intel Xeon
Browser: Safari 536.26.17
Operating System: Mac OS X (10.8)

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)