Search found 489 matches

by rommmcek
Yesterday, 21:38
Forum: Ask For Help
Topic: Hotkeystrings don't work 20% of the time
Replies: 9
Views: 252

Re: Hotkeystrings don't work 20% of the time

You should use WinWait, ahk_pid %OutputVarPID%,, 6, to avoid script being stuck.
Edit: And uncomment ; msgbox % Files to see "Files" content!
by rommmcek
Yesterday, 21:34
Forum: Ask For Help
Topic: Hotkeystrings don't work 20% of the time
Replies: 9
Views: 252

Re: Hotkeystrings don't work 20% of the time

Second attempt: ; ============= my proposal2 FullPath2 = %ClipBoard% ; Converting to text Xl := ComObjCreate("Excel.Application") loop, parse, FullPath2, `n, `r If FileExist(A_LoopField) Xl.Workbooks.Open(A_LoopField) ;open an existing file Xl.Visible := true ; msgbox % FullPath2 ; ============= Edi...
by rommmcek
18 Feb 2019, 07:36
Forum: Ask For Help
Topic: Disable a specific key when macro is running.
Replies: 1
Views: 46

Re: Disable a specific key when macro is running.

I think your Q is wage. It's probably why nobody answers yet.
The script is working! When window "Game" is active it sends Space when pressing Pause or Alt+Pause.
Shift+4 always sends £.

Can you specify which key would you like to disable when running (which) macro?
by rommmcek
18 Feb 2019, 06:14
Forum: Ask For Help
Topic: Hotkeystrings don't work 20% of the time
Replies: 9
Views: 252

Re: Hotkeystrings don't work 20% of the time

@omar: First try to run your script as administrator. If it doesn't help, you should test each your Hotkey/Hotstring separately in new script (not running original script) and then report if some particular Hotkey/Hotstring not works. Finally you'll add consecutively them together into one script wi...
by rommmcek
14 Feb 2019, 02:28
Forum: Ask For Help
Topic: detect if improper tags are found in a text
Replies: 8
Views: 145

Re: detect if improper tags are found in a text

I think your Q is pretty wage. Here is how I understood it:

Code: Select all

Text:="some text <en> <ta>"
Text:="some text <en> <es>"
RegExMatch(Text,".*(<en> <es>)|(<en> <ta>)", $)
	if $1
		MsgBox, Good usage of tags
	else if $2
		MsgBox, Improper tag found
by rommmcek
14 Feb 2019, 01:30
Forum: Ask For Help
Topic: Arctan Help
Replies: 1
Views: 70

Re: Arctan Help

They are: MsgBox % "tan(atan(1)): " round(tan(atan(1)), 14) "`n`ntan(arctan(1)): " round(tan(arctan(1)), 14)
It's just the metter of desired precision!
by rommmcek
13 Feb 2019, 14:52
Forum: Ask For Help
Topic: 2 if on 1 button Topic is solved
Replies: 5
Views: 97

Re: 2 if on 1 button Topic is solved

Generally curly brackets should be in its own line: sc4B:: If A_Cursor=Unknown { Send, {sc1D Down} Click Send, {sc1D Up} Sleep, 1000 MouseGetPos, xpos, ypos MouseClick, left, 1691, 120, , 0 ; [WhichButton , X, Y, ClickCount, Speed, D|U, R] MouseMove, xpos, ypos, 0 } Else If A_Cursor=IBeam { Send, {s...
by rommmcek
13 Feb 2019, 07:08
Forum: Ask For Help
Topic: Close program after period of inactivity Topic is solved
Replies: 2
Views: 58

Re: Close program after period of inactivity Topic is solved

Try to move GroupAdd,FirefoxGroup,ahk_exe firefox.exe to the second line.
by rommmcek
13 Feb 2019, 06:47
Forum: Ask For Help
Topic: Key mapping
Replies: 4
Views: 81

Re: Key mapping

To toggle the CapsLock use:

Code: Select all

CapsLock::s
^+z::
	if getKeyState("CapsLock", "T")
		SetCapsLockState, Off
	else SetCapsLockState, On
return
by rommmcek
12 Feb 2019, 01:41
Forum: Scripts and Functions
Topic: Num2Text function
Replies: 7
Views: 337

Re: Num2Text function

Interesting! I extended your function to handle output formats of this thread.
by rommmcek
12 Feb 2019, 01:38
Forum: Ask For Help
Topic: Selecting section of string from website
Replies: 9
Views: 767

Re: Selecting section of string from website

Extended to work with bigger numbers, uppercase, dashes, commas, spaces, and and words due to this thread . /* test area ninehundredninetyninethousandninehundredninetynine twothousandfivehundredseventeen onehundredthousand */ MsgBox, % convert("five hundred and sixty-five billion, ninety-six million...
by rommmcek
11 Feb 2019, 20:38
Forum: Scripts and Functions
Topic: Num2Text function
Replies: 7
Views: 337

Re: Num2Text function

Thanks guys, I just needed this!
@ wolf_II: May be this one
@ sinkfaze: Your function gives me five hundred sixty-five billion - million three hundred sixty-four thousand nine hundred thirty-five for 565096364935. Is there a bug?
by rommmcek
03 Feb 2019, 14:59
Forum: Ask For Help
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 1513

Re: Order of pressing modifier keys affects the result

You've put the tilde correctly!
I just want to know, if your original script ever triggered Start Menu?
The same question for my latest scriptlet without tilde.
by rommmcek
02 Feb 2019, 07:48
Forum: Ask For Help
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 1513

Re: Order of pressing modifier keys affects the result

How strange! What about without tilde (both scripts)?
by rommmcek
01 Feb 2019, 17:06
Forum: Ask For Help
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 1513

Re: Order of pressing modifier keys affects the result

Or you can use your own script with ~ (tilde) in front of both Shift-s! E.g.: ~Shift
by rommmcek
01 Feb 2019, 16:41
Forum: Ask For Help
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 1513

Re: Order of pressing modifier keys affects the result

O.k. I get it, but Start Menu was not triggered, or?
How does perform my last scriptlet? Does it trigger Start Menu?
Try it without tilde too! (It should behave identically as your script)
P.s.: All this only by using Right arrow along specified modifying key/s!
by rommmcek
01 Feb 2019, 14:17
Forum: Ask For Help
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 1513

Re: Order of pressing modifier keys affects the result

I see you didn't loose interest! Would you be available for Skype call for me to share my screen. Or for a TeamViewer session? I don't use these apps, but I could try to temporarily install one of them. That would require real time presence, but I could do it during the weekend (not this one). I man...
by rommmcek
30 Jan 2019, 14:34
Forum: Ask For Help
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 1513

Re: Order of pressing modifier keys affects the result

Not loosing much time for a few lines! I'm interesting why this happens. What about this (if you find time and will): <#+Right::Send, +{End}{Ctrl down} ~LWin up:: ~+LWin up::Send, {Ctrl up} ; This two hotkeys fire each! time LWin is released, so I think it is right approach. P.s.: Renaming Win folde...
by rommmcek
30 Jan 2019, 13:09
Forum: Ask For Help
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 1513

Re: Order of pressing modifier keys affects the result

It's hard to help you, having no such issues. I think now Sleep, 25 is useless. (To test use first Seep, 2000 instead then without it) Here is my new proposal with more "professional" approach. (I'm hardcore amateur!): <#+Right::Send, +{End} ~LWin:: ~+LWin::Send {Blind}{vk07} Edit: Fixing blunder!
by rommmcek
30 Jan 2019, 03:59
Forum: Ask For Help
Topic: Order of pressing modifier keys affects the result
Replies: 51
Views: 1513

Re: Order of pressing modifier keys affects the result

One more idea:

Code: Select all

<#+Right::
	Send, +{End}{Ctrl down}{Esc up}
	KeyWait, LWin
	Sleep, 25 ; wait a bit while Ctrl is still down blocking Start Menu 
	Send, {Ctrl up}{Esc up}
	WinClose, ahk_exe SearchUI.exe ; deffinitly closes Start Menu if it was not blocked
return
P.s.: Try without {Esc up} too!

Go to advanced search