Search found 560 matches

by rommmcek
16 Jul 2019, 15:28
Forum: Ask For Help
Topic: Help with revising a script Topic is solved
Replies: 4
Views: 220

Re: Help with revising a script Topic is solved

I thought it was your script! 1. Have running the script posted above. 2. Have opened this site (autohotkey.com..) in Chrome 3. Have opened Gmail in Chrome composing a new message (post) with some editable text. 4. Activate this site (autohotkey.com..) and double click on any word keeping left mouse...
by rommmcek
15 Jul 2019, 19:52
Forum: Ask For Help
Topic: Help with revising a script Topic is solved
Replies: 4
Views: 220

Re: Help with revising a script Topic is solved

Try this Copy from AutoHotkey site & replace in Gmail in Chrome. #SingleInstance Force ~LButton:: KeyWait, LButton, T0.5 ;Wait for half sec to start copying things. If ErrorLevel { SoundBeep, 100, 10 WinGetClass, strClass, A ActUrl:=GetCurrentUrlAcc(strClass) Keywait, LButton ;Wait for LButton to be...
by rommmcek
15 Jul 2019, 16:10
Forum: Ask For Help
Topic: Launch Function & Catch Object in DllThread
Replies: 2
Views: 174

Re: Launch Function & Catch Object in DllThread

This is my workaround: for i, j in obj(3, 5) MsgBox % "Main Obj:`n" i ": " j test := " ( test := AhkExported() strObj := test.ahkFunction(""obj2Str"", 3 """", 5 """") loop, parse, strObj, ""``n"" if A_LoopField MsgBox `% ""test Obj:``n"" StrReplace(A_LoopField, "","", "": "") )" AhkDll := AhkThread(...
by rommmcek
15 Jul 2019, 05:51
Forum: Ask For Help
Topic: Launch Function & Catch Object in DllThread
Replies: 2
Views: 174

Launch Function & Catch Object in DllThread

A fellow member has infected me with AutoHotkey_H. Ironically it's me trying to help him. I can launch function from dllThread and catch its value if the function returns number or string. If the function returns object I'm lost. ;MsgBox % "Main Var:`n" var(3, 5) ; works ;for i, j in obj(0, 1) ; wor...
by rommmcek
15 Jul 2019, 05:34
Forum: Ask For Help
Topic: It's possible one ControlClickDrag
Replies: 1
Views: 251

Re: It's possible one ControlClickDrag

This seems to be a typical Ahk_L question. As such it would be better here, but anyway,
try:

Code: Select all

wX:=wY:=0
MouseClickDrag, Left, 320+wX, 396+wY, 334+wX, 396+wY
if it suits you!
by rommmcek
11 Jul 2019, 15:29
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 324
Views: 81317

Re: FindText - Capture screen image into text and then find it Topic is solved

your code wrote:Error: Call to nonexistent function.

Specifically: CriticalObject()
...
016: GuiControl,,start,STOP
---> 017: startScript := CriticalObject()
018: script := " #NoEnv
...
Sorry, but you'd have to narrow down your problem in order to help you...!
by rommmcek
11 Jul 2019, 02:37
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 324
Views: 81317

Re: FindText - Capture screen image into text and then find it Topic is solved

Resolution depends on various things(, but certainly not on monitor size as I stated blunderingly somewhere above - now finally edited) The easiest way would be, to ensure that displayed text (upon you exhibit search) would be bigger in size! That would require of course redefine all characters you ...
by rommmcek
11 Jul 2019, 00:13
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 324
Views: 81317

Re: FindText - Capture screen image into text and then find it Topic is solved

Try: n3:=Ord("3"), Txt_%n3%:="|<3>*149$6.zVAwlwwAVzU" (n-number or what ever variable you will)
by rommmcek
06 Jul 2019, 09:48
Forum: Ask For Help
Topic: Help refining a script to adjust leading and trailing spaces
Replies: 3
Views: 143

Re: Help refining a script to adjust leading and trailing spaces

After jeeswg's post and more thorough reading try: !Left:: !Right:: Send {Left}^+{Right} ; … the rest of your code Otherwise, you should post before and after (wrong and desired) text! Edit: If I'm right and you are after switching whole words, you might try: Send ^{Right}^{Left}^+{Right} instead, w...
by rommmcek
06 Jul 2019, 03:56
Forum: Ask For Help
Topic: Finding Excel File. Loop, Files Topic is solved
Replies: 14
Views: 645

Re: Finding Excel File. Loop, Files Topic is solved

Obviously wild cards work only for file name and file extension. I wasn't sure, so I proposed testing. Task could be done with RegEx too, but might be much slower: Loop, Files, % "I:\My Drive\Webcam\Webcam - Projects\TX15\*.xlsx", R if (A_LoopFileFullPath ~= "I:\\My Drive\\Webcam\\Webcam - Projects\...
by rommmcek
05 Jul 2019, 12:52
Forum: Ask For Help
Topic: Help refining a script to adjust leading and trailing spaces
Replies: 3
Views: 143

Re: Help refining a script to adjust leading and trailing spaces

May be you should take a look here (Padding with spaces) and here (To pad an integer with zeros or spaces...).
by rommmcek
02 Jul 2019, 05:20
Forum: Ask For Help
Topic: RHCP Classmemory
Replies: 6
Views: 515

Re: RHCP Classmemory

Obviously I can't give you such profound advices as RHCP and you alone seem to be ahead of me! Nevertheless here is my second thought. If you know where to fish: while (mPtr-sPtr<=cmPtr && A_Index<0x7ffb69c3b3ee) ; addresses taken from your pic above if ((Character:=*mPtr++)!=0 && A_Index>0x7ffb69c3...
by rommmcek
28 Jun 2019, 19:07
Forum: Ask For Help
Topic: Finding Excel File. Loop, Files Topic is solved
Replies: 14
Views: 645

Re: Finding Excel File. Loop, Files Topic is solved

userinput:="TX15 - 78558 - Big business corporation - the business of typing, inc - 9506 Auto hotkey avenue" ;your attempt MsgBox, % "I:\My Drive\Webcam\Webcam - Projects\TX15\"SubStr(userinput, 1, 15)"*""\"SubStr(userinput, 1, 15)"*.xlsx" ,FD ;my attempt MsgBox, % "I:\My Drive\Webcam\Webcam - Proj...
by rommmcek
28 Jun 2019, 16:12
Forum: Ask For Help
Topic: Finding Excel File. Loop, Files Topic is solved
Replies: 14
Views: 645

Re: Finding Excel File. Loop, Files Topic is solved

@Xtra: Sharp eye! @eblanc: Again, you have to debug your script! Userinput:="TX68\TX68 - 58777 - Sat Inc - Lirna Retail - 99999 Highway 290\TX68 - 58777 - Sat Inc - Lirna Retail - 99999 Highway 290.xlsx" MsgBox % SubStr(userinput, 1, 15) MsgBox % SubStr(userinput, 1, 4) Maybe this script will help y...
by rommmcek
28 Jun 2019, 14:47
Forum: Ask For Help
Topic: Help to adjust a script to trigger an interface button Topic is solved
Replies: 4
Views: 255

Re: Help to adjust a script to trigger an interface button Topic is solved

I installed Xara trial. ControlClick is working fine. However not with !x hotkey. You have to choose another hotkey e.g.: #IfWinActive, ahk_exe DesignerPro.exe f::ControlClick, cc_BitmapButton6, ahk_exe DesignerPro.exe ; f - forward (next photo) d::ControlClick, cc_BitmapButton7, ahk_exe DesignerPro...
by rommmcek
27 Jun 2019, 23:13
Forum: Ask For Help
Topic: Help to adjust a script to trigger an interface button Topic is solved
Replies: 4
Views: 255

Re: Help to adjust a script to trigger an interface button Topic is solved

Some apps doesn't respond to ControlClick consistently. You can try: ControlSend, cc_BitmapButton17, {Enter}, ahk_exe DesignerPro.exe ;or less agressive ControlSend, cc_BitmapButton17, {Space}, ahk_exe DesignerPro.exe ;or ControlFocus, cc_BitmapButton17, ahk_exe DesignerPro.exe Send, {Enter} ;or les...
by rommmcek
27 Jun 2019, 21:43
Forum: Ask For Help
Topic: RHCP Classmemory
Replies: 6
Views: 515

Re: RHCP Classmemory

It seems you encountered "null terminated string" problem. So you should consider other methods to parse your data. If you don't have other options try e.g. something like this: Mf:="A_Full_Valid_Script_Path_And_Name" if FileExist(mF) FileRead, mData, % "*c " mF else { MsgBox File doesn't exist! Exi...
by rommmcek
27 Jun 2019, 20:26
Forum: Ask For Help
Topic: Finding Excel File. Loop, Files Topic is solved
Replies: 14
Views: 645

Re: Finding Excel File. Loop, Files Topic is solved

You have to debug your script! Currently the loop does just one cycle! Start replacing it with e.g.: Loop, Files, % ... "*".xlsl , FD { MsgBox % FoundFile := A_LoopFileFullPath ;if (expression) ;break } If you get expected info, then make corresponding if statement and so on... P.s.: Je veux des fra...
by rommmcek
27 Jun 2019, 09:13
Forum: Scripts and Functions
Topic: [Library] Fnt v3.0 - Do Stuff With Fonts
Replies: 27
Views: 10927

Re: [Library] Fnt v3.0 - Do Stuff With Fonts

Just made custom color options for ToolTipFnt().
Fresh code, very little tested though!

Go to advanced search