Search found 124 matches
- 13 Nov 2017, 07:17
- Forum: Ask for Help (v1)
- Topic: How To Give "Focus" - HomePage
- Replies: 0
- Views: 448
How To Give "Focus" - HomePage
Hi guys :salute: I'm trying to give "Focus" on a particular field on a page. I've tried it in some ways and I could not. Can anyone give me any tips? :? for wb in ComObjCreate("Shell.Application").Windows If InStr(wb.locationURL, "http://172.16.2.126/CAisd/html/popup_frames.html?KEEP.AHD_menu") { If...
- 31 Aug 2017, 09:03
- Forum: Ask for Help (v1)
- Topic: AHK Read Email Lotus Notes
- Replies: 0
- Views: 663
AHK Read Email Lotus Notes
Hi guys... :!: I've been searching something on this forum where I could use AutoHotKey to read the emails from the Lotus Notes inbox and I did not find anything specific. I tried copying some things I found in VBA to HotKey but I succeeded. Has anyone done anything that could connect and read Notes...
- 18 Aug 2017, 09:06
- Forum: Ask for Help (v1)
- Topic: Question about AHK on Terminal Services
- Replies: 1
- Views: 525
Question about AHK on Terminal Services
Hi everybody, Sorry for the doubt, but I did not find any topic talking in detail about this problem... Is AHK not 100% functional within a terminal services? A script like this in a terminal services and run, it works as long as I have the window open and looking at it Sleep, 3000 Run, notepad WinW...
- 16 Aug 2017, 10:35
- Forum: Ask for Help (v1)
- Topic: Doubt About ComObject IE Topic is solved
- Replies: 2
- Views: 764
Re: Doubt About ComObject IE Topic is solved
jeeswg wrote:Does this work?I.e. Var_ID would be a string, but Var_ID+0 would be numeric.Code: Select all
Var := V_H4.item[Var_ID+0].InnerText
Yes, that's how it works. But still, I'll try to use it differently. Thank you
- 15 Aug 2017, 18:05
- Forum: Ask for Help (v1)
- Topic: Doubt About ComObject IE Topic is solved
- Replies: 2
- Views: 764
Doubt About ComObject IE Topic is solved
Hi!! I trying to understand why when I write a script like that works fine to show a message "Dados de acesso": for wb in ComObjCreate("Shell.Application").Windows If InStr(wb.locationURL, "https://ecomigo.santander.com.br") { V_H4 := wb.document.getElementsByTagName("H4") Var := V_H4.item[0].InnerT...
- 02 Aug 2017, 09:28
- Forum: Ask for Help (v1)
- Topic: Doubt About ComObj - SELECT Topic is solved
- Replies: 3
- Views: 970
Re: Doubt About ComObj - SELECT Topic is solved
Xeo786 wrote:try
Code: Select all
PPiframeF.document.getElementsByTagName("SELECT").value := "SomeValue" ;from <option> value /option>
No, unfortunately nothing happens.
![Crying or Very Sad :cry:](./images/smilies/icon_cry.gif)
- 02 Aug 2017, 07:11
- Forum: Ask for Help (v1)
- Topic: Doubt About ComObj - SELECT Topic is solved
- Replies: 3
- Views: 970
Doubt About ComObj - SELECT Topic is solved
I'm trying to write a script to select a "combolist" and select a value. The script below is working perfectly. My question is: If I wanted to select the "combolist" and "type" the word I want to select, would there be a form? This Works: for wb in ComObjCreate("Shell.Application").Windows If InStr(...
- 26 Jul 2017, 14:26
- Forum: Ask for Help (v1)
- Topic: Question About ComObj DIV Topic is solved
- Replies: 2
- Views: 728
Re: Question About ComObj DIV Topic is solved
tks very much tank !tank wrote:Code: Select all
V_Div := PPiframe.document.getElementsByTagName("DIV") for key,div in V_Div MsgBox % Var := div.innertext
![Razz :P](./images/smilies/icon_razz.gif)
- 26 Jul 2017, 12:53
- Forum: Ask for Help (v1)
- Topic: Question About ComObj DIV Topic is solved
- Replies: 2
- Views: 728
Question About ComObj DIV Topic is solved
Hi Any suggestions that might help? Would you like to read the "innertext" value of this field and then click on it? Any tips? Image of properties iWB2 Learner [img] https://autohotkey.com/boards/download/file.php?mode=view&id=2657 [/img] I try: for vb in ComObjCreate("Shell.Application").Windows If...
- 26 Jul 2017, 11:02
- Forum: Ask for Help (v1)
- Topic: Problem RegExMatch (Find String) Topic is solved
- Replies: 2
- Views: 703
Re: Problem RegExMatch (Find String) Topic is solved
Works fine!Nightwolf85 wrote:What if you try this?Code: Select all
Var_Result := RegExReplace(Var_String, ".*ux-mif"" id=""(.*?)"".*", "$1") Msgbox, My ID is %Var_Result%"
Tks a lot man!
![Thumbup :thumbup:](./images/smilies/icon_thumbup.gif)
- 26 Jul 2017, 10:38
- Forum: Ask for Help (v1)
- Topic: Problem RegExMatch (Find String) Topic is solved
- Replies: 2
- Views: 703
Problem RegExMatch (Find String) Topic is solved
Hello! I'm trying to identify an id in the middle of a large string. In the string below, the ID I need is "ext-gen414". How could he do that? I try this but it did not work. :? Var_String= </i></td></tr></tbody></table></td></tr></tbody></table></td><td><table cellspacing="0"><tbody><tr class=...
- 26 Jul 2017, 07:22
- Forum: Ask for Help (v1)
- Topic: Question About COM (IE) Topic is solved
- Replies: 4
- Views: 1379
Re: Question About COM (IE) Topic is solved
iWB2 Learner Shows: ------------------------------------------------------------------------------ Title: SystemForm Input: 41 Url: https://servicemanager.net.system.com.br Index: 154 Name: instance/number ID: X20 Frame#: IFRAME.1 Index: 2089 name: mif-comp-721479 id: ext-gen415 -------------------...
- 25 Jul 2017, 12:39
- Forum: Ask for Help (v1)
- Topic: Question About COM (IE) Topic is solved
- Replies: 4
- Views: 1379
Question About COM (IE) Topic is solved
Hello guys :shock: I'm trying to develop a script inside my company so that a focus is made on a certain field and a value is inserted. I've tried to use the COM concepts I know and it just spins and nothing happens. Should it have a different syntax because it has "IFRAME"? iWB2 Learner Shows: ----...
- 19 Apr 2017, 11:49
- Forum: Ask for Help (v1)
- Topic: Doubt About Excel Topic is solved
- Replies: 4
- Views: 1612
Re: Doubt About Excel Topic is solved
oExcel.Cells.Right ;This I have error. Is it right? help Lets look at this line. oExcel is an Application object. <-- On that page you can see that an Application object has a property called Cells . Cells - "Returns a Range object that represents all the cells on the active worksheet." So, when on...
- 19 Apr 2017, 10:41
- Forum: Ask for Help (v1)
- Topic: Doubt About Excel Topic is solved
- Replies: 4
- Views: 1612
Doubt About Excel Topic is solved
Hi guys :xmas: A simple doubt. Is there any way to move left or right or up or down in an excel spreadsheet? Instead of using the "Send" command, for example: WinActivate, ahk_exe EXCEL.EXE Send, {RIGHT} ; or could be Send, {DOWN} I'd like to use it this way: oExcel := ComObjActive("Excel.Applicatio...
- 15 Apr 2017, 19:29
- Forum: Ask for Help (v1)
- Topic: Disable just one particular hotkey and while holding it is spammed
- Replies: 3
- Views: 736
Re: Disable just one particular hotkey and while holding it is spammed
When I press Alt+P I need to disable/enable the space thing. I can't have timers, I need it to be custom Try this #SingleInstance Number=0 !p:: { Number+=1 If (Number & 1) { TrayTip, Key, Disable SPACE,5,1 Func_Enabled() } Else { TrayTip, Key, Enable SPACE,5,1 Func_Disabled() } return } Func_Enable...
- 15 Apr 2017, 12:21
- Forum: Ask for Help (v1)
- Topic: Cancel the action of a key
- Replies: 8
- Views: 2379
Re: Cancel the action of a key
Thank you for your help. This did not work and the browser still opens. Can my remote send 2 instructions at the same time? I believe the browser loads due to an internal hardware command. Why dont you try to take some action and close the browser?. Something like this Browser_Home:: If ProcessExis...
- 15 Apr 2017, 12:02
- Forum: Ask for Help (v1)
- Topic: Disable just one particular hotkey and while holding it is spammed
- Replies: 3
- Views: 736
Re: Disable just one particular hotkey and while holding it is spammed
I want to have a code where you hold down Space and it spams it every 50 miliseconds. I have a buncha other hotkeys assigned and when I do Alt + P ALL of them get disabled. I want only for the space bar to be disabled. I need to type in chat, so when I type, it always inserts 2 spaces, so I need to...
- 15 Apr 2017, 10:26
- Forum: Ask for Help (v1)
- Topic: Some Help with Excel Function Topic is solved
- Replies: 2
- Views: 832
Re: Some Help with Excel Function Topic is solved
Hi :) Untested, but... oExcel.Cells.Find( Var_Cell ; What , oExcel.ActiveCell ; After , -4123 ; LookIn, xlFormulas=-4123 , 2 ; LookAt, xlPart=2 , 1 ; SearchOrder, xlByRows=1 , 1 ; SearchDirection, xlNext=1 , False ; MatchCase , False ).Activate ; SearchFormat - % are not required around variables i...
- 14 Apr 2017, 16:47
- Forum: Ask for Help (v1)
- Topic: Some Help with Excel Function Topic is solved
- Replies: 2
- Views: 832
Some Help with Excel Function Topic is solved
Hi guys :shifty: I want to create a script that looks for a value in an excel sheet. To understand how to develop a search script in Excel, I wrote a macro in excel to search for a value and then copy the value of the column to the right. The script would look like this: Sub Macro1()' ' Macro1 Macro...