Search found 20 matches

by jameskhalil
25 Oct 2021, 08:52
Forum: Ask for Help (v1)
Topic: Script makes pc lag Topic is solved
Replies: 7
Views: 1213

Re: Script makes pc lag Topic is solved

I think I found a possible part of the issue. A HotKey was triggered by another program.
I will test and get back to confirm.

Why does the ctrl+mouse click hotkey sometimes makes the script crash? It makes the mouse slow down then it crashes the script.
by jameskhalil
22 Oct 2021, 09:44
Forum: Ask for Help (v1)
Topic: Script makes pc lag Topic is solved
Replies: 7
Views: 1213

Re: Script makes pc lag Topic is solved

I will review my code. I checked, and its not due to the antivirus (does the same even when antivirus shut down). If there are other causes to be explored: I'm all ears. In the meantime, I thought of doing a second hotkey app that would deactivate ("suspend and pause") the current script and only re...
by jameskhalil
22 Oct 2021, 06:34
Forum: Ask for Help (v1)
Topic: Script makes pc lag Topic is solved
Replies: 7
Views: 1213

Re: Script makes pc lag Topic is solved

I will correct those 2 returns.

I will check if I can deactivate the antivirus and see if that is the cause. Feel free to tell me where are bugs (and correction if possible), I would appreciate very much.
by jameskhalil
21 Oct 2021, 16:21
Forum: Ask for Help (v1)
Topic: Script makes pc lag Topic is solved
Replies: 7
Views: 1213

Script makes pc lag Topic is solved

Hi, Can someone please tell me why when my script is running it makes my pc lag even though I'm not calling any hotkey from it. When it is not running : the pc goes back to its normal speed. I tried testing several times (with my script running vs closed) and its always the same result. I tried with...
by jameskhalil
26 Jul 2021, 15:47
Forum: Ask for Help (v1)
Topic: Shortkeys app not converting what AHK sends
Replies: 18
Views: 1134

Re: Shortkeys app not converting what AHK sends

Thank you every body!!
by jameskhalil
26 Jul 2021, 14:46
Forum: Ask for Help (v1)
Topic: Shortkeys app not converting what AHK sends
Replies: 18
Views: 1134

Re: Shortkeys app not converting what AHK sends

Is it normal that it works without an end key? (I only typed "//one" and it worked. Its perfect but I wanted to make sure)
by jameskhalil
26 Jul 2021, 11:55
Forum: Ask for Help (v1)
Topic: Shortkeys app not converting what AHK sends
Replies: 18
Views: 1134

Re: Shortkeys app not converting what AHK sends

Thanks for your help. What did I do wrong? Nothing happens when I type "//one" Path := a_scriptdir "\read.xlsx" XL := ComObjCreate("Excel.Application") XL_Workbook := XL.Workbooks.Open(Path) sarr := xl.activesheet.usedrange.value cnt := xl.activesheet.usedrange.rows.count - 1 ; -1 because of the hea...
by jameskhalil
23 Jul 2021, 17:43
Forum: Ask for Help (v1)
Topic: Shortkeys app not converting what AHK sends
Replies: 18
Views: 1134

Re: Shortkeys app not converting what AHK sends

It will be complicated (head office very tough restrictions) to exchange ShortKeys by AHK but I will try. So I found this script that I can use to fetch data from an excel file containing the definitions of the ShortKeys. But I need AHK to fire every time //(Key) is typed. In other words pressing "/...
by jameskhalil
23 Jul 2021, 10:26
Forum: Ask for Help (v1)
Topic: Shortkeys app not converting what AHK sends
Replies: 18
Views: 1134

Re: Shortkeys app not converting what AHK sends

Here's an example. Please rename extention to .shk
Thank you!
by jameskhalil
22 Jul 2021, 16:58
Forum: Ask for Help (v1)
Topic: Shortkeys app not converting what AHK sends
Replies: 18
Views: 1134

Re: Shortkeys app not converting what AHK sends

Here is what I tried: #z:: { SendRaw //pk Raw (1){enter} Send {Blind}//pk Blind (2){enter} Send {Text}//pk Text (3){enter} Send //pk usual (4){enter} SendInput //pk Input (5){enter} SendEvent //pk Event (6){enter} Send {NumpadDiv}{NumpadDiv}pk buttons (7){enter} return } Gives: //pk Raw (1){enter}//...
by jameskhalil
21 Jul 2021, 08:06
Forum: Ask for Help (v1)
Topic: Shortkeys app not converting what AHK sends
Replies: 18
Views: 1134

Re: Shortkeys app not converting what AHK sends

Thank you for your suggestions, but unfortunately it's not an option to replace the ShortKeys app.
by jameskhalil
19 Jul 2021, 15:19
Forum: Ask for Help (v1)
Topic: Shortkeys app not converting what AHK sends
Replies: 18
Views: 1134

Re: Shortkeys app not converting what AHK sends

Cant replace ShortKeys app due to office restrictions.
by jameskhalil
19 Jul 2021, 10:59
Forum: Ask for Help (v1)
Topic: Shortkeys app not converting what AHK sends
Replies: 18
Views: 1134

Shortkeys app not converting what AHK sends

Hi, I am using both the ShortKeys app (https://www.shortkeys.com) and AHK, but when I send the ShortKey code (via AHK) it is not interpreted by the ShortKeys app. I tried the different send methodes but without success. Edit: I have to use the ShortKeys app due to office restrictions (its complicate...
by jameskhalil
23 Oct 2020, 22:10
Forum: Ask for Help (v1)
Topic: Script stops working
Replies: 4
Views: 251

Re: Script stops working

Seems to work. Thank you!
by jameskhalil
23 Oct 2020, 06:04
Forum: Ask for Help (v1)
Topic: Script stops working
Replies: 4
Views: 251

Re: Script stops working

Sorry, I was testing in Notepad so you are right it was waiting indefinitely.
I will try it again.
by jameskhalil
22 Oct 2020, 18:59
Forum: Ask for Help (v1)
Topic: Script stops working
Replies: 4
Views: 251

Script stops working

Hi, This script for some reason just stops working at "MsgBox, Vaccin". I temporarely inserted the "MsgBox" lines only to know how far it goes, so I will delete them after. It is executed from a menu and is supposed to copy the info from a website form and place the contents of the fields in variabl...
by jameskhalil
15 Jun 2020, 07:42
Forum: Ask for Help (v1)
Topic: If function key is in a string
Replies: 7
Views: 600

Re: If function key is in a string

The script now launches, Thank you. But It is more complex than my level (not able to play with it). Here are my issues: I like BoBo's simple script but I don't think it detects the F3, or I cant make it work. Xtra's script: Is there a lighter/less complicated script than that (for begginers)? The p...
by jameskhalil
08 Jun 2020, 10:13
Forum: Ask for Help (v1)
Topic: If function key is in a string
Replies: 7
Views: 600

Re: If function key is in a string

Error at lauch: image attached
by jameskhalil
07 Jun 2020, 15:54
Forum: Ask for Help (v1)
Topic: If function key is in a string
Replies: 7
Views: 600

Re: If function key is in a string

"F3" doesnt show in the string
by jameskhalil
07 Jun 2020, 14:47
Forum: Ask for Help (v1)
Topic: If function key is in a string
Replies: 7
Views: 600

If function key is in a string

Hi, After every "Enter or NumpadEnter" : I need to run a set of lines of a script only if "F3" was NOT pressed before the last 7 caracters. Unsuccessfully tried these : A_PriorKey, A_PriorHotkey But I'm probably not using them well. My script: Loop { Input, key, I L1 V log = %log%%key% } ~Enter:: { ...

Go to advanced search