Search found 497 matches

by rommmcek
Today, 11:14
Forum: Ask For Help
Topic: copy in Adobe Reader - no clipboard owner Topic is solved
Replies: 9
Views: 146

Re: Cannot copy in Adobe - clipboard empty Topic is solved

@jeeswg: I was speaking of the guru, the guru is here! Very classy piece of code!
by rommmcek
Today, 05:46
Forum: Ask For Help
Topic: copy in Adobe Reader - no clipboard owner Topic is solved
Replies: 9
Views: 146

Re: Cannot copy in Adobe - clipboard empty Topic is solved

Looks like handle is retrieved only when Clipboard is occupied. SetBatchLines, -1 VarSetCapacity(vOutput, 55*1000000*2) Loop, 200000 vOutput .= "abcdefghijklmnopqrstuvwxyz`tabcdefghijklmnopqrstuvwxyz`r`n" ; big data by Jeeswg to occupy Clipboard as long as possible Clipboard := vOutput MsgBox % DllC...
by rommmcek
Today, 05:33
Forum: Ask For Help
Topic: copy in Adobe Reader - no clipboard owner Topic is solved
Replies: 9
Views: 146

Re: Cannot copy in Adobe - clipboard empty Topic is solved

Sorry, there was typo! if !ClipBord should be if !Clipboard!!!!!
With DllCall unfortunately I do not have experience!
by rommmcek
Today, 04:03
Forum: Ask For Help
Topic: copy in Adobe Reader - no clipboard owner Topic is solved
Replies: 9
Views: 146

Re: Cannot copy in Adobe - clipboard empty Topic is solved

Try this: f:: ; works for me While (Clipboard != "" && A_Index <= 90) { ; This While loop is for normal use redundant, but under heavy load useful. Clipboard := "" Sleep, 10 } While (Clipboard = "" && A_Index <= 6) { Send, ^c Sleep, 150 if !Clipboard msgBox Mark some text first! ; will be empty else...
by rommmcek
Yesterday, 21:59
Forum: Ask For Help
Topic: Question about ControlClick
Replies: 3
Views: 88

Re: Question about ControlClick

Thanks just me!
@rambius: So try:

Code: Select all

ControlGet, hnd1, hwnd,, LOGIN, Login
ControlClick,, ahk_id %hnd1%
and

Code: Select all

ControlGet, hnd2, hwnd,, YES, %marker%
ControlClick,, ahk_id %hnd2%
by rommmcek
Yesterday, 08:34
Forum: Ask For Help
Topic: Mouse click command not waiting for controclick function to perform it's command
Replies: 1
Views: 49

Re: Mouse click command not waiting for controclick function to perform it's command

I tried to guess what you wanted: sETBATCHLINES, -1 sETKEYDELAY, -1 sETMOUSEDELAY, -1 sETDEFAULTMOUSESPEED, 0 sETWINDELAY, -1 sETCONTROLDELAY,-1 settitlematchmode, 1 setbatchlines -1 Rshift::reload ]:: ControlClick, ThunderRT6CommandButton5, Anagram Master, &Search! Clipboard:= "" ControlClick, Thun...
by rommmcek
Yesterday, 08:18
Forum: Ask For Help
Topic: Question about ControlClick
Replies: 3
Views: 88

Re: Question about ControlClick

First paramater should be control, not text!
Should look like: ControlClick, Button1,Login and ControlClick, Button2, %marker%.
by rommmcek
Yesterday, 08:03
Forum: Ask For Help
Topic: Script Error
Replies: 2
Views: 78

Re: Script Error

Move #IfWinActive ahk_class (Progman|CabinetWClass) up before $enter::! Otherwise it has no effect.
by rommmcek
19 Feb 2019, 21:38
Forum: Ask For Help
Topic: Hotkeystrings don't work 20% of the time
Replies: 9
Views: 304

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
19 Feb 2019, 21:34
Forum: Ask For Help
Topic: Hotkeystrings don't work 20% of the time
Replies: 9
Views: 304

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: 63

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: 304

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: 164

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: 79

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: 110

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: 69

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: 96

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: 381

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: 794

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: 381

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?

Go to advanced search