Welcome Guest

Pages: 1
[Solved] Action - Bracket
DreamStaticPostDecember 28, 2013, 15:34
Beginner
Posts: 40
Registered:
October 26, 2013, 16:46
Normal topic[Solved] Action - Bracket

I have been using the Bracket action and love it, however; one thing that throws it for a loop is if the parenthesis section is at the start of the song title. Notice how it doesn't recognize that a closing parenthesis is already included in the song title and adds an extra one at the end of the song title in the below example. Not a huge problem, but thought I would mention it. Thanks so much.

Original song title: (This is) the way the cookie crumbles

Modified song title: (This is) the way the cookie crumbles)

2MR2PostDecember 28, 2013, 16:27
Avatar photo
Administrator
Posts: 2079
Registered:
August 23, 2012, 19:27
Normal topicRe: Action - Bracket

I'm not sure this is a bug...although it looks weird. The Bracket function looks for text and inserts a bracket before the text and at the end of the field. The function checks to see if brackets are already in place and only ensure the correct bracket type if they are.

For example:

Bracket 'This is' in field Title with ( )

on data: (This is the way the cookie crumbles)

will not insert additional brackets as they are already in place.

I think checking for your stated condition is beyond the scope of the statement because parenthesis balancing would be required. For example think of: (This is) the way (the cookie crumbles)

I'm not even safe to assume that the brackets are initially balanced. What i the track was:

(This is) the way the cookie crumbles :--)

DreamStaticPostDecember 28, 2013, 16:29
Beginner
Posts: 40
Registered:
October 26, 2013, 16:46
Normal topicRe: Action - Bracket

Gotcha, that makes sense. Thanks for the detailed explanation. 🙂

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.022 seconds.