Wednesday, June 28, 2017

#1 2017-01-27 02:01:31 pm

adayzdone
Member
From: New York
Registered: 2011-01-24
Posts: 525

BridgePlus and Paths

I am getting a Compile Error: A to:music can't go after this path.

Applescript:

use framework "Foundation"
use script "BridgePlus" version "1.3.1"

set xxx to (path to music folder from user domain)

What am I doing wrong?

Offline

 

#2 2017-01-27 04:54:52 pm

Shane Stanley
Member
From: Australia
Registered: 2002-12-07
Posts: 5023

Re: BridgePlus and Paths

adayzdone wrote:

What am I doing wrong?

Once you add any use statement to a script, you also need to add a use scripting additions statement if you wish to use scripting addition commands.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#3 2017-01-27 08:10:05 pm

adayzdone
Member
From: New York
Registered: 2011-01-24
Posts: 525

Re: BridgePlus and Paths

That did it. Thanks Shane.

Offline

 

Board footer

Powered by FluxBB

[ Generated in 0.670 seconds, 9 queries executed ]

RSS (new topics) RSS (active topics)