Search found 18 matches

by trevzilla
14 May 2024, 12:33
Forum: Ask for Help (v2)
Topic: String Manipulation between ^ and /
Replies: 22
Views: 1458

Re: String Manipulation between ^ and /

I'll have to run a few more test cases to see if compounded names will be a problem. Regardless, there is still going to be a person verifying any information that is put in (in my case) so even if my script fails in 10% of the use cases, it'll still save us heaps of time, and the individual can man...
by trevzilla
13 May 2024, 17:53
Forum: Ask for Help (v2)
Topic: String Manipulation between ^ and /
Replies: 22
Views: 1458

Re: String Manipulation between ^ and /

Ah, I understand now. I was pretty lost reading andymbody's code above, but funny...it was exactly what I needed. Thank you for pointing that out to me, and feel like I understand how it's working now.

From what I can tell, my script is fully working! Couldn't have done it without you all!
by trevzilla
13 May 2024, 16:58
Forum: Ask for Help (v2)
Topic: String Manipulation between ^ and /
Replies: 22
Views: 1458

Re: String Manipulation between ^ and /

I'm sorry I wasn't clear. Yes, your solution works perfectly to get Lname into a variable. However my follow-up question is regarding Fname. I was trying to apply your solution to get Fname as well. But sometimes there is a space behind Fname, and sometimes there is a ^ behind it. For example, my Re...
by trevzilla
13 May 2024, 15:32
Forum: Ask for Help (v2)
Topic: String Manipulation between ^ and /
Replies: 22
Views: 1458

Re: String Manipulation between ^ and /

I hope it's OK that I keep this thread alive for my next question. I feel like my script is SOO close. I thought I had it, but as I opened it up to a few testers, this string popped up: RandomDigits^Lname/Fname(sometimes spaces here, sometimes not)^RandomDigits I thought there would always be a spac...
by trevzilla
13 May 2024, 12:47
Forum: Ask for Help (v2)
Topic: String Manipulation between ^ and /
Replies: 22
Views: 1458

Re: String Manipulation between ^ and /

That did the trick! Thank you flyingDman! I was definitely going down the wrong path.
by trevzilla
13 May 2024, 11:53
Forum: Ask for Help (v2)
Topic: String Manipulation between ^ and /
Replies: 22
Views: 1458

Re: String Manipulation between ^ and /

I have used RegEx a bit with Bulk Rename Utility. I definitely see the power in it, I'm just not very good with it yet. As soon as these solutions were posted, it was an "ah ha! Of course the answer is RegEx!" moment. With that said I put into place the solution by flyingDman - only because it made ...
by trevzilla
10 May 2024, 21:31
Forum: Ask for Help (v2)
Topic: String Manipulation between ^ and /
Replies: 22
Views: 1458

Re: String Manipulation between ^ and /

Amazing! Thank you all! I'll try these out soon.
by trevzilla
10 May 2024, 17:45
Forum: Ask for Help (v2)
Topic: String Manipulation between ^ and /
Replies: 22
Views: 1458

String Manipulation between ^ and /

If I have a string that looks similar to this:

%B1111222233334444^LastName/FirstName

How could I select JUST the LastName and store that to a variable? I feel like I need to "find" the ^ and the / characters and select everything in-between those.

Any ideas?
by trevzilla
09 Sep 2017, 22:12
Forum: Ask for Help (v1)
Topic: Running a GUI twice. Topic is solved
Replies: 5
Views: 1385

Re: Running a GUI twice. Topic is solved

Awesome! Thanks for the reply! I think my script is officially up and running now! :)
by trevzilla
09 Sep 2017, 21:55
Forum: Ask for Help (v1)
Topic: Running a GUI twice. Topic is solved
Replies: 5
Views: 1385

Re: Running a GUI twice. Topic is solved

Thanks so much! This is my first time working with GUI's, and I was a bit confused on what was going on. I think your answer cleared up a bunch of things for me. I'm understanding how GUI's work, just a little bit more now! Next question...which I'm sure I'll be able to research and figure out, but ...
by trevzilla
09 Sep 2017, 19:52
Forum: Ask for Help (v1)
Topic: Running a GUI twice. Topic is solved
Replies: 5
Views: 1385

Running a GUI twice. Topic is solved

I have a hotkey that brings up a dropdown menu. It asks the user what text string they'd like to input for their hotkey. I would like to give the user the ability to press the hotkey a second time so they can change their input if needed. !`:: { Gui, Add, DropDownList, vGamechoice Choose1, 1|2|3 Gui...
by trevzilla
24 Aug 2017, 20:25
Forum: Ask for Help (v1)
Topic: Using WinActivate with changing Title
Replies: 2
Views: 958

Re: Using WinActivate with changing Title

Great! Thanks so much. SetTitleMatchMode worked perfectly for me! Exactly what I was looking for. (I bet the other two would've worked too, but the first solution seemed just a tad easier to implement and maybe more robust.)
by trevzilla
24 Aug 2017, 18:03
Forum: Ask for Help (v1)
Topic: Using WinActivate with changing Title
Replies: 2
Views: 958

Using WinActivate with changing Title

I'm using a program called "XnViewMP" which I'm trying to create a script to help with my work. Part of the script needs to Activate XnViewMP, however it appears that the developer of XnViewMP has the Window Title include the current directory that I'm browsing. E.G. According to Window Spy, The act...
by trevzilla
11 Apr 2017, 14:32
Forum: Ask for Help (v1)
Topic: Using a Variable as a hotkey
Replies: 3
Views: 544

Re: Using a Variable as a hotkey

Aha! I got it! I had this part of the code:

Code: Select all

HotKey, #%Hotkey%, Button
Return
After another hotkey that I had assigned to #z::

It works no problem as soon as I moved that above the #z:: code. Thanks for your help all! It helped to know that it was working on others computers!
by trevzilla
11 Apr 2017, 14:26
Forum: Ask for Help (v1)
Topic: Using a Variable as a hotkey
Replies: 3
Views: 544

Re: Using a Variable as a hotkey

@wolf_II - Sorry about changing the original code on you! You replied ridiculously fast! I figured that for the purposes of the forum, a MsgBox would be easier to debug than a Send...so I changed it to MsgBox... Interesting that it is working for both wolf_II and Xeno234. I tried running it as an ad...
by trevzilla
11 Apr 2017, 14:06
Forum: Ask for Help (v1)
Topic: Using a Variable as a hotkey
Replies: 3
Views: 544

Using a Variable as a hotkey

I'm trying to make a script that asks the user what key they'd like to use for their hotkey. (Eventually I'd also like them to choose modifiers with mouse buttons...E.G. the hotkey would be Alt+LButton, but we'll get there later...) Anyway, once the script is executed the first lines of code I have ...
by trevzilla
10 Apr 2017, 09:49
Forum: Ask for Help (v1)
Topic: WheelLeft not working
Replies: 4
Views: 2180

Re: WheelLeft not working

Awesome! That did it! Setting WheelLeft and WheelRight to generic button in Setpoint. You were correct on pretty much every assumption. I am using a Logitech M510 Mouse. I also did notice intermittent behavior with the XButton2. So, if I'm not mistaken, it's probably a good idea to switch XButton1/2...
by trevzilla
09 Apr 2017, 12:52
Forum: Ask for Help (v1)
Topic: WheelLeft not working
Replies: 4
Views: 2180

WheelLeft not working

Trying to run a ridiculously simple hotkey: WheelLeft:: { MsgBox WheelLeft was pressed } But when I do this, nothing happens. The Message box never appears. If I switch the hotkey to "XButton1" it works fine, or "XButton2" works fine. But "WheelLeft" "WheelRight" or "MButton" don't seem to work at a...

Go to advanced search