Just put quotes around the text portion of your if-statement.
if ( entry = "Citizenship" ) {
Search found 65 matches
- 30 Jan 2019, 08:43
- Forum: Ask for Help (v1)
- Topic: script not working, can someone help?
- Replies: 1
- Views: 602
- 22 Jan 2019, 10:51
- Forum: Ask for Help (v1)
- Topic: Toggle Windows between only 2 monitors in 3 monitor setup
- Replies: 1
- Views: 563
- 22 Jan 2019, 10:43
- Forum: Ask for Help (v1)
- Topic: Compile Script while .exe is running Topic is solved
- Replies: 3
- Views: 1029
Re: Compile Script while .exe is running Topic is solved
I ran into this same issue before. I made a database search program that many users in my company would use. But when I needed to update it, I would have to check with all the users to make sure they had closed it (many would just leave it open and forget about it). My suggestion is to make an "inst...
- 22 Jan 2019, 10:33
- Forum: Ask for Help (v1)
- Topic: How do I remap the colon key? Topic is solved
- Replies: 5
- Views: 1986
Re: How do I remap the colon key? Topic is solved
Change MsgBox to your desire output; something like, Send , [.
- 22 Jan 2019, 10:01
- Forum: Ask for Help (v1)
- Topic: Struggling with an AHK / Outlook issue Topic is solved
- Replies: 3
- Views: 1095
Re: Struggling with an AHK / Outlook issue Topic is solved
I can confirm the doing alt+shift+o brings up the window that BLoweZero mentioned (only when the cursor is in the body), so sending the lower-case o as awel20 mentioned should solve it. Perhaps doing this with COM may be more reliable. Worth a look? Edit: Added the COM version. It's untested for err...
- 22 Jan 2019, 09:53
- Forum: Ask for Help (v1)
- Topic: How do I remap the colon key? Topic is solved
- Replies: 5
- Views: 1986
Re: How do I remap the colon key? Topic is solved
This doesn't work for me.Rohwedder wrote: ↑22 Jan 2019, 09:22Hallo,
if your layout has a colon key this should work:untestedCode: Select all
:::q
- 22 Jan 2019, 09:03
- Forum: Ask for Help (v1)
- Topic: Send highlighted text to the input box of web form
- Replies: 1
- Views: 627
Re: Send highlighted text to the input box of web form
I would start by using WindowSpy or AccViewer to get details on the input box on the webpage. From there, you may be able to use ControlSend or possibly COM as you did with Excel.
- 22 Jan 2019, 08:50
- Forum: Ask for Help (v1)
- Topic: Define PATH to pics or logs with A_WorkingDir or other env var
- Replies: 1
- Views: 598
Re: Define PATH to pics or logs with A_WorkingDir or other env var
You're nearly there; use the period to concatenate when evaluating and percents when literal, like so: ThisLogfile := A_WorkingDir . "\Script.Test Automation." . A_Now . ".log" ImageSearch , FoundX , FoundY , 1200 , 1 , 1610 , 200 , %A_WorkingDir%\Pics\PIC_A.png Sometimes it is difficult to tell whi...
- 22 Jan 2019, 08:42
- Forum: Ask for Help (v1)
- Topic: How do I remap the colon key? Topic is solved
- Replies: 5
- Views: 1986
Re: How do I remap the colon key? Topic is solved
There may be a better way, but here is something that works:
Code: Select all
HotKey , : , Test
Return
Test:
MsgBox
Return
- 18 Jan 2019, 15:50
- Forum: Ask for Help (v1)
- Topic: Monitoring script
- Replies: 5
- Views: 1499
Re: Monitoring script
I would say this is probably possible, but it might help to see a screenshot of the specific application you intend to use this with. Also posting your code of what you tried may help as well.
- 18 Jan 2019, 15:39
- Forum: Ask for Help (v1)
- Topic: Why is the GUI not aborted
- Replies: 3
- Views: 891
Re: Why is the GUI not aborted
Indeed, it looks like there may be a number of issues. Along with what Manny mentioned, is this all part of the DoWhenTimeout function? Or are you calling it and it's somewhere else in your code not shown?
- 18 Jan 2019, 12:52
- Forum: Ask for Help (v1)
- Topic: Weird Mouse Movements
- Replies: 7
- Views: 1723
Re: Weird Mouse Movements
It appears to be related to the speed. Black was at 100, red was at 50, green was at 25, there is a blue that is hard to see - but it was at 5, pink was at 0. I think the reason I was getting different results initially is that I had SendMode , Input at the top of my script, which is essentially the...
- 18 Jan 2019, 10:57
- Forum: Ask for Help (v1)
- Topic: Why can't the parameter of "LV_GetText" be "Clipboard"?
- Replies: 7
- Views: 1440
Re: Why can't the parameter of "LV_GetText" be "Clipboard"?
While that doesn't work, here's a workaround:
Code: Select all
LV_GetText( vInfo , 1)
Clipboard := vInfo
- 18 Jan 2019, 10:42
- Forum: Ask for Help (v1)
- Topic: Weird Mouse Movements
- Replies: 7
- Views: 1723
Re: Weird Mouse Movements
I am using the same version on Win10 x64. Hmm, have you tried increasing the sleep to something longer, like 250? Maybe it comes down hardware?
- 18 Jan 2019, 10:22
- Forum: Ask for Help (v1)
- Topic: Is there a way to execute a subroutine by clicking on the Tab? Topic is solved
- Replies: 8
- Views: 1663
Re: Is there a way to execute a subroutine by clicking on the tag? Topic is solved
Code: Select all
Gui, Add, Tab3, x0 r5 w400 vTab gSubroutine , tab1|tab2
- 18 Jan 2019, 10:11
- Forum: Ask for Help (v1)
- Topic: Weird Mouse Movements
- Replies: 7
- Views: 1723
Re: Weird Mouse Movements
It only made one line for me. But adding a Sleep , 50 between each MouseMove made it work just fine. (I did not include KeyWait.)
- 26 Dec 2018, 13:49
- Forum: Ask for Help (v1)
- Topic: Key don't work
- Replies: 3
- Views: 811
Re: Key don't work
What program are you trying to use it in? Personally, I find SendEvent to be more effective with games.
- 18 Oct 2018, 10:32
- Forum: Ask for Help (v1)
- Topic: Using left Control key as left mouse button replacement
- Replies: 2
- Views: 1006
Re: Using left Control key as left mouse button replacement
Does removing the tilde ~ help?
- 18 Oct 2018, 10:29
- Forum: Ask for Help (v1)
- Topic: Macro Creator locks up
- Replies: 0
- Views: 524
Re: Macro Creator locks up
Can we see the script that was generated?
- 18 Oct 2018, 10:27
- Forum: Ask for Help (v1)
- Topic: Cross-Remapped a key caused not responded
- Replies: 2
- Views: 650
Re: Cross-Remapped a key caused not responded
Try sticking a Return at the end of each hotkey. Does that help?