Search found 311 matches
- 10 Jan 2024, 13:33
- Forum: Ask for Help (v2)
- Topic: moving e-mail to different folder help.
- Replies: 15
- Views: 1050
Re: moving e-mail to different folder help.
I don't think that the space is the issue. I tried it on a folder with a space in the name and it seemed to work. Maybe there is an extra space or an invisible character in there? You could copy and paste the folder name directly from outlook. You can also loop through the folder: ... for k, v in IB...
- 10 Jan 2024, 11:26
- Forum: Ask for Help (v2)
- Topic: moving e-mail to different folder help.
- Replies: 15
- Views: 1050
Re: moving e-mail to different folder help.
Shouldn't it be "CVent Alerts" not just "CVent"? You could try this to see where it is failing to get a folder: olApp := ComObject("Outlook.Application") RS := olApp.Session.Folders("RS MST CRM") MsgBox RS.Name ; check IB := RS.Folders("Inbox") MsgBox IB.Name ; check CV := IB.Folders("CVent Alerts")...
- 09 Jan 2024, 22:13
- Forum: Ask for Help (v2)
- Topic: moving e-mail to different folder help.
- Replies: 15
- Views: 1050
Re: moving e-mail to different folder help.
Here's some of the things I found. You might want to read my edit at the bottom first. Item should be Items Item worked when I tested it, so I am not sure that is the issue here. :arrow: Selection.Item The thing is: I might not have a very standard e-mail setup (I don't know if this is relevant). In...
- 05 Jan 2024, 20:45
- Forum: Ask for Help (v2)
- Topic: Need functions to convert selected text to lowercase and uppercase Topic is solved
- Replies: 24
- Views: 1371
Re: Need functions to convert selected text to lowercase and uppercase Topic is solved
Here's one way to incorporate it. Since you have a lot of repeated code, it can just be one function. Also, with the caveats noted by others above regarding clipwait etc. F1::ClipboardPasteCase("U") ; Upper case F2::ClipboardPasteCase("l") ; Lower case F3::ClipboardPasteCase("T") ; Title case F4::Cl...
- 30 Dec 2023, 09:30
- Forum: Ask for Help (v2)
- Topic: LWin::Send behaviour under V2?
- Replies: 12
- Views: 645
Re: LWin::Send behaviour under V2?
What do you mean by single tap; mikeyww's advice that SendEvent vs SendInput could be at play here, in addition to the & problems. The default send mode changed to Input in v2; it was Event in v1. Lwin & ... would not have worked well with other hotkeys even in v1. So definitely avoid using & hotkey...
- 30 Dec 2023, 08:35
- Forum: Ask for Help (v2)
- Topic: LWin::Send behaviour under V2?
- Replies: 12
- Views: 645
Re: LWin::Send behaviour under V2?
No, don't remove <#, that's what you should be using. Custom combinations (&) haven't changed since v1. We're saying that you shouldn't use &, and use <# instead for LWin.
- 30 Dec 2023, 07:20
- Forum: Ask for Help (v2)
- Topic: LWin::Send behaviour under V2?
- Replies: 12
- Views: 645
Re: LWin::Send behaviour under V2?
Just tested both versions here and they both work in Notepad. If this is part of a larger script then there could be other hotkeys interfering with this one. Try only running the LWin hotkey alone and see if it still makes a difference. Then start adding to it until it breaks. That way you can find ...
- 29 Dec 2023, 06:06
- Forum: Ask for Help (v1)
- Topic: Proper use of wintext parameter? Topic is solved
- Replies: 2
- Views: 167
Re: Proper use of wintext parameter? Topic is solved
Try: if winactive("Found new typo ahk_class #32770", "New Typo Detected.")
- 28 Dec 2023, 14:31
- Forum: General Discussion
- Topic: Comcast Business ISP Blocking AHK Website
- Replies: 6
- Views: 918
Re: Comcast Business ISP Blocking AHK Website
You mentioned Edge and Chrome; does it work in Firefox?
The suggestion to Disable the QUIC Flag in the Browser’s Settings would be the first thing I would try, if you haven't already.
The suggestion to Disable the QUIC Flag in the Browser’s Settings would be the first thing I would try, if you haven't already.
- 28 Dec 2023, 13:02
- Forum: General Discussion
- Topic: Comcast Business ISP Blocking AHK Website
- Replies: 6
- Views: 918
Re: Comcast Business ISP Blocking AHK Website
Searching for the error code comes up with some possible fixes. For example, https://computerverge.com/err_quic_protocol_error-explained-and-fixed/
- 27 Dec 2023, 16:50
- Forum: General Discussion
- Topic: Comcast Business ISP Blocking AHK Website
- Replies: 6
- Views: 918
Re: Comcast Business ISP Blocking AHK Website
It could also be your company IT policy or software that is blocking it. If you haven't already, might be worth looking into.
- 26 Dec 2023, 19:39
- Forum: SciTE4AutoHotkey
- Topic: New scripts in scite/AHK with added settings Topic is solved
- Replies: 7
- Views: 2058
Re: New scripts in scite/AHK with added settings Topic is solved
I was able to get it to work in SciTE4AutoHotkey. For what it's worth, my files are in the following locations. C:\Users\MYUSERNAME\Documents\AutoHotkey\SciTE\NewAhk.lua -- https://www.autohotkey.com/board/topic/54431-scite4autohotkey-v3004-updated-aug-14-2013/page-62#entry568765 if props["FileNameE...
- 25 Dec 2023, 23:24
- Forum: SciTE4AutoHotkey
- Topic: New scripts in scite/AHK with added settings Topic is solved
- Replies: 7
- Views: 2058
Re: New scripts in scite/AHK with added settings Topic is solved
Look in C:\Windows\ShellNew\Template.ahk
- 25 Dec 2023, 23:15
- Forum: Ask for Help (v2)
- Topic: How I run another AHK script from another AHK script
- Replies: 10
- Views: 2077
- 25 Dec 2023, 05:01
- Forum: Ask for Help (v2)
- Topic: How I run another AHK script from another AHK script
- Replies: 10
- Views: 2077
Re: How I run another AHK script from another AHK script
The error is saying -MsgBox("Hi") is not a script file.
It is expecting a file path like:
Code: Select all
Run A_AHKPath ' C:\path\to\some\file.ahk'
- 24 Dec 2023, 22:46
- Forum: SciTE4AutoHotkey
- Topic: New scripts in scite/AHK with added settings Topic is solved
- Replies: 7
- Views: 2058
Re: New scripts in scite/AHK with added settings Topic is solved
I just tried this and it seems to work: viewtopic.php?p=480175#p480175
- 24 Dec 2023, 22:38
- Forum: Ask for Help (v2)
- Topic: Can't run AutoHotKey program file Topic is solved
- Replies: 5
- Views: 1187
Re: Can't run AutoHotKey program file Topic is solved
That appears to be the EXE, not a .ahk file.
- 24 Dec 2023, 22:31
- Forum: Ask for Help (v1)
- Topic: Need help figuring out unexpected curly close bracket
- Replies: 1
- Views: 1540
Re: Need help figuring out unexpected curly close bracket
It's probably this line: if counter != 8 { , if !geneticsBool[counter] { , and if geneticsBool[counter] { . In v1 you need to add parenthesis if you want to do this: if (!geneticsBool[counter]) { For more info see if (expression) vs legacy if . You would want to use if (expression). v2 solves this t...
- 19 Dec 2023, 07:36
- Forum: Ask for Help (v1)
- Topic: Run Commandline with hotkey?
- Replies: 1
- Views: 360
Re: Run Commandline with hotkey?
Try escaping the %, since that character has a special meaning.
https://www.autohotkey.com/docs/v1/misc/EscapeChar.htm
Code: Select all
MsgBox %comspec% /k for `%v in ("C:\Users\Myaccount\Downloads\file list\*.zip") do bz d -r "`%v" *.ttf *.otf
- 19 Dec 2023, 07:24
- Forum: Ask for Help (v2)
- Topic: Update list of entries for combox? Topic is solved
- Replies: 1
- Views: 235
Re: Update list of entries for combox? Topic is solved
Use the Delete method first then Add.
https://www.autohotkey.com/docs/v2/lib/GuiControl.htm#Add_Remarks
Code: Select all
mygui := Gui()
cb := mygui.AddComboBox("", ["hello","world"])
mygui.Show()
MsgBox
cb.Delete()
cb.Add(["foo", "bar"])