Sunday, December 17, 2017

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

adayzdone
Member
From:: New York
Registered: 2011-01-25
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 05:54:52 pm

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

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 09:10:05 pm

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

Re: BridgePlus and Paths

That did it. Thanks Shane.

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)