Search found 29 matches

by MusoCity
25 Jun 2018, 22:01
Forum: Ask For Help
Topic: Mac OS X Migration
Replies: 0
Views: 131

Mac OS X Migration

I have the AHK GUI to send keystrokes/Macros to a Windows app, works great ! But now to do the same on the Mac, a way I can see of doing this is with Java or Lua & LuaMacros as they can send keystrokes to the focused app. I think IronAHK is dead, not sure if that had a GUI ? AHK is great but not mul...
by MusoCity
24 Jun 2018, 02:59
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

I got that working good now thanks ! After if found the Db I put a gosub ChordB/# to rename the Db to C# get it pass the check then put another gosub Chord#/b to rename it back to a flat then the Db is renamed to a D to go up 1 semitone. You would probably have a one liner to do all that, but the ma...
by MusoCity
21 Jun 2018, 18:11
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

The only other occurrence of a lowercase b that is not related to a chord is following a "." ".." "..." at the very end of the chord Db...b or Db.db or Db..dbgps or C/G...b the dot indicated .=rest ..=shot ...=held it is just telling the app to only play the d=drums, b=bass, g=guitar, p=piano or s=s...
by MusoCity
21 Jun 2018, 13:09
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

I think the # should be default, I have another function to to convert #>b or b># anyway.
by MusoCity
21 Jun 2018, 02:22
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

It's working good with the # sharp chords but not picking up the flat b chords Db Eb Gb Ab Bb

C Db D Eb E F Gb G Ab A Bb B
by MusoCity
20 Jun 2018, 19:18
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

Perfect ! I will put it in the code and try it out and let you know, thanks again !
by MusoCity
20 Jun 2018, 18:00
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

Thanks ! very close to working right. this works to allow for just one chord (without / slash note) or two (with or without / slash notes) q:: ;test transpose chords vText := "Cm7b5#9/B" MsgBox, % ChordTranspose(vText, 1) MsgBox, % ChordTranspose(vText, 0, 1) MsgBox, % ChordTranspose(vText, 0, 0, 1)...
by MusoCity
20 Jun 2018, 16:09
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

Sorry. So 1/2,3/4 could be: C C# Db D D# Eb E F F# Gb G G# Ab A A# Bb B *The # and b are the same note can be named either. So to transpose C up 1 semitone will be C# C# or Db up 1 semitone will be D D up 1 will be D# etc.. RegExReplace1up will replace the first chord So say the 1 (the first chord) ...
by MusoCity
19 Jun 2018, 22:07
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

I just can't work out where to put the Needle in that instead of the Multiline

MsgBox, % RegExReplace(Haystack, "m)^\^*\K\d", "Replacement")
by MusoCity
18 Jun 2018, 16:24
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

Thanks I appreciate all your help, that should do it now hopefully, if you can just convert one of them to a one liner like this MsgBox, % RegExReplace("C#", "(?<!`,)C#", "D") without it reading from a list I should be right. I was reading your tutorial when you came to my rescue, thanks. jeeswg's R...
by MusoCity
17 Jun 2018, 20:58
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

I just need one RegExReplace for each one of the 4, that will work on any variation of each target. So there are 4, 1=first chord 2=slash note/ of first chord 3=second chord 4=slash note of second chord they each need to work no matter what the variation so RegExReplace1 will replace only 1 in all t...
by MusoCity
17 Jun 2018, 18:57
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

Thanks !, that should do the job, I will just try it out on a lot of variations.
by MusoCity
17 Jun 2018, 18:19
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

Finding the first UPPERCASE Letter, might be easier ?
So first UPPERCASE or first UPPERCASE before / or ,
and first UPPERCASE after ,
by MusoCity
17 Jun 2018, 17:40
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

Thanks that works on /X, but some maybe proceeded by ^ or ^^

"X/X,X/X"
"^X/X,X/X"
"^^X/X,X/X"
"X/X,^X/X"
"X/X,^^X/X"
"^^X/X,^^X/X"
"^X/X,^^X/X"
"^X/X,^X/X"
"^X/X,^^X/X"
"^^X/X,^X/X"
"^^X,^X/X"
"^X,^X"
"X,X"
by MusoCity
17 Jun 2018, 16:47
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

So X could be:

C
C#
Db
D
D#
Eb
E
F
F#
Gb
G
G#
Ab
A
A#
Bb
B
by MusoCity
17 Jun 2018, 15:37
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

Re: RegExReplace Transpose Chords

More basic example, just need to be able to replace each X selectively out of the 4 possible.
X/X,X/X
X/X,X
X,X
X,X/X
X/X
X
by MusoCity
17 Jun 2018, 00:53
Forum: Ask For Help
Topic: RegExReplace Transpose Chords
Replies: 29
Views: 1347

RegExReplace Transpose Chords

I need a RegExReplace for each below, replace X with Y This will be the very first X or after "^" or "^^" and before "/" and or "," or none ^^ X m75/X,^^X7m#13/X ^ X Mb5/X X dim7 X ,X This will be the first after the / and before "," if there ^^Xm75/ X ,^^X7m#13/X ^XMb5/ X Xdim7/ X This will be the ...
by MusoCity
08 Jun 2018, 15:32
Forum: Ask For Help
Topic: Send ini Section
Replies: 11
Views: 297

Re: Send ini Section

[settings] B1funct=!e{Down 2}{Right}{Down}{Enter} That's how I had it working, sending it from a line, but that limits the usage, as it may need for an example a clipboard filter StringReplace etc... Users need to be able to put their own actions in, not me. Capital E's aren't the issue, all I asked...
by MusoCity
08 Jun 2018, 06:34
Forum: Ask For Help
Topic: Send ini Section
Replies: 11
Views: 297

Re: Send ini Section

No. It sends something VERY different, and that's fine. The above is just a rough example of what type of section I have that I typed on the fly, it's not the actual script. send % B1functSecVar was used with !E (Down 10) not send !E Send {Down 10} All I'm asking for is an easy way to use what acti...
by MusoCity
08 Jun 2018, 05:28
Forum: Ask For Help
Topic: Send ini Section
Replies: 11
Views: 297

Re: Send ini Section

seriously? You want to send a bunch of send commands and a gosub? It sends fine in the ahk script ButtonUser1: winactivate, ahk_class Application { Send, !E Sleep, 50 Send, {Down 2} Send, {Right} Send, {Down 1} Send, {Enter} Sleep, 50 gosub, Write } return send % B1functSecVar didn't work.

Go to advanced search