Friday, September 22, 2017
  • Index
  •  » Automator
  •  » How to output a path ending with a directory ?

#1 2016-11-12 04:47:20 pm

Joy
Member
From:: South Tirol
Registered: 2008-07-04
Posts: 510
Website

How to output a path ending with a directory ?

Hi guys,

It's dizzy how some operations in Automator work.
I couldn't figure out how to output a simple, arbitrary directory path from an AppleScript module in Automator. 

Just to make a simple example, not even:

Applescript:

Set desk_pt to posix path of (path to desktop folder as text)
return desk_pt

..doesn't work. The icons tab under results stays inactive/greyed out

Offline

 

#2 2016-11-12 05:07:09 pm

Joy
Member
From:: South Tirol
Registered: 2008-07-04
Posts: 510
Website

Re: How to output a path ending with a directory ?

big_smile
Not sure if this is a bad joke I found it myself...lost precious time before posting..

To output a directory path you have to use or the "Finder" or "System Events" and use a hfs path reference.

Offline

 
  • Index
  •  » Automator
  •  » How to output a path ending with a directory ?

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)