Search found 31 matches

by Gio710
25 Aug 2023, 16:20
Forum: Ask for Help (v1)
Topic: Help to adapt code to read from computer folder to build dynamic menu containing only folders and sub folders
Replies: 1
Views: 224

Re: Help to adapt code to read from computer folder to build dynamic menu containing only folders and sub folders

Hi finally found an almost perfect solution by adapting https://jacks-autohotkey-blog.com/2021/07/23/adding-folders-and-files-from-windows-to-autohotkey-menus LinePerCol is a variable that turns menu into multicolumn menu, depending on how many menu lines you can display on your monitor. 60 is fine ...
by Gio710
24 Aug 2023, 03:46
Forum: Ask for Help (v1)
Topic: Help to adapt code to read from computer folder to build dynamic menu containing only folders and sub folders
Replies: 1
Views: 224

Help to adapt code to read from computer folder to build dynamic menu containing only folders and sub folders

Hi every body, I found this code snipet on AHK forum. Currently it reads from a specified folder to build menu and submenus containing subfolders and their files. What I'm looking for is a way to : only put folders and subfolders without files put at the top of each new sub folder a menu item corres...
by Gio710
31 Jul 2023, 05:56
Forum: Scripts and Functions (v1)
Topic: Hotstring Menus for Multiple Options
Replies: 8
Views: 7374

Re: Hotstring Menus for Multiple Options

Hi Jack, I also tried to reach out on your blog, with the same request : Thanks for these great examples I was able to use and adapt. I’m looking for an additional feature. Would you mind telling me if you think it’s possible ? : When using this script, is there a way to store in a variable the "pat...
by Gio710
08 Jun 2023, 05:19
Forum: Scripts and Functions (v1)
Topic: Dragon custom voice command to change date format (and some extras)
Replies: 3
Views: 1277

Re: Dragon custom voice command to change date format (and some extras)

Ho, I found the answer rereading my own post it must not be DgnEngine.Option(dgnengoptionDoubleClickForCorrection) = not DgnEngine.Option(dgnengoptionDoubleClickForCorrection) it must be DgnEngine.Option(dgnengoptionDoubleClickForCorrection) := not DgnEngine.Option(dgnengoptionDoubleClickForCorrecti...
by Gio710
08 Jun 2023, 05:17
Forum: Scripts and Functions (v1)
Topic: Dragon custom voice command to change date format (and some extras)
Replies: 3
Views: 1277

Re: Dragon custom voice command to change date format (and some extras)

Hi Guys, I have a question slightly similar for which I cannot find an answer on forums so far. I'm trying to change DgnEngineOptionConstants => dgnengoptionDoubleClickForCorrection, from within AHK. I can read it's value (-1 or 0 from AHK) but I cannot change it ! Can you help me change it from AHK...
by Gio710
25 May 2023, 10:58
Forum: Ask for Help (v1)
Topic: Can you make Dragon NaturallySpeaking talk using an autohotkey script?
Replies: 21
Views: 7661

Re: Can you make Dragon NaturallySpeaking talk using an autohotkey script?

Hi, can I ask some help for the following problem ? I want to activate/inactivate Dragon option correction by double click. My script is : dgnengoptionDoubleClickForCorrection := 0x11 DgnEngine:= ComObjCreate("Dragon.DgnEngineControl") DgnEngine.Register(0) DgnEngine.Option(dgnengoptionDoubleClickFo...
by Gio710
15 Jan 2023, 06:09
Forum: Ask for Help (v1)
Topic: openning an app with autohotkey generate a strange behaviour fo the app (TagSpaces)
Replies: 1
Views: 157

Re: openning an app with autohotkey generate a strange behaviour fo the app (TagSpaces)

auto answer : I was runing ot with elevated privileges, which caused the problem
by Gio710
15 Jan 2023, 06:04
Forum: Ask for Help (v1)
Topic: openning an app with autohotkey generate a strange behaviour fo the app (TagSpaces)
Replies: 1
Views: 157

openning an app with autohotkey generate a strange behaviour fo the app (TagSpaces)

Hi, I'm trying to use tagspaces with aoutohotkey ( https://www.tagspaces.org/ ). When I want to rename a file after launching tagspaces via windows menu, everything goes fine. But it If do it via AHK : Run, "C:\Program Files\TagSpaces\TagSpaces.exe" ahk can no longer sendkeys to their app, although ...
by Gio710
11 Dec 2022, 13:22
Forum: Ask for Help (v1)
Topic: How to set file properties?
Replies: 9
Views: 3893

Re: How to set file properties?

Hi,

did you find a way to set extended file properties ?

Best regards
by Gio710
11 Dec 2022, 13:20
Forum: Ask for Help (v1)
Topic: script to count number of items in a folder view not working
Replies: 3
Views: 275

Re: script to count number of items in a folder view not working

thank you very much, I'll try to be more specific next time I post
by Gio710
01 Dec 2022, 06:48
Forum: Ask for Help (v1)
Topic: script to count number of items in a folder view not working
Replies: 3
Views: 275

script to count number of items in a folder view not working

Hi,

I'm trying to get the number of items in a folder : FolderPath

without a count loop. I poked around with this :

Code: Select all

numberitem := ComObjCreate("Shell.Application").NameSpace(FolderPath).Items.Count
it sents me a number but it's not the one I?m looking for. ANy idea How I could do that ?
by Gio710
06 Nov 2022, 02:11
Forum: Ask for Help (v1)
Topic: code to create AHK Menu from a file, with automatic accelerator - almost fully working, need help for separator issue
Replies: 0
Views: 246

code to create AHK Menu from a file, with automatic accelerator - almost fully working, need help for separator issue

Hi everyone, I did a script to create AHK menu, from a text file, with values separated with "tab" (A_tab). The script adds automatically accelerators, 1-9, and a-z if the lenght of the list allows it. I use another script. Each line of the file has until 18 tab seprations to store differents inform...
by Gio710
02 Nov 2022, 11:43
Forum: Ask for Help (v1)
Topic: ahk editor to automatically split code ports in order to include it in other scripts
Replies: 2
Views: 168

Re: ahk editor to automatically split code ports in order to include it in other scripts

Thanks a lot. I modified your code a little bit to adapt to visual code environnement: Clipboard := "" Send ^c ClipWait, 0 CoordMode, Mouse, Screen MouseGetPos, MX, MY InputBox, UserInput, "Titre de l'extrait à inclure" , "PLease adjust File Title, then use alt-tab to select code to include" `n`n ,,...
by Gio710
02 Nov 2022, 10:30
Forum: Ask for Help (v1)
Topic: ahk editor to automatically split code ports in order to include it in other scripts
Replies: 2
Views: 168

ahk editor to automatically split code ports in order to include it in other scripts

Hi,

is there any ahk editor, that allowas to select code from a script, save it as a separate ahk file, and replace it with include instruction ?
by Gio710
26 Jul 2022, 09:59
Forum: Ask for Help (v1)
Topic: help writing registry with key name being default
Replies: 1
Views: 285

help writing registry with key name being default

HI There, I came out with a script proposing to toggle between several pdf previewers in windows. All the preview handlers installed on the computer are located under : Ordinateur\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers The key for default pdf preview is located ...
by Gio710
14 Jul 2022, 13:09
Forum: Ask for Help (v1)
Topic: Get Button position from my GUI script
Replies: 2
Views: 550

Re: Get Button position from my GUI script

Thank you so much !
by Gio710
09 Jul 2022, 03:19
Forum: Ask for Help (v1)
Topic: Get Button position from my GUI script
Replies: 2
Views: 550

Get Button position from my GUI script

Hi everyone, I recently adapted the capture to text ocr to scan any portion of my 2 monitor system. When this problem will be solved, I'd gladly share it here, but right now I dont have time. Since I trigger scan zone with mouse, I would like to validate result with mouse, by repositionning it on th...
by Gio710
21 Jun 2022, 05:16
Forum: Ask for Help (v1)
Topic: change folder size after having opened it
Replies: 5
Views: 568

Re: change folder size after having opened it

Thanks for your detailed explanations.


My mistake was not considering using explorer as an app, and the wanted folder path as a parameter. So I would not get the wanted folder runned by explorer specific PID, since I did not mention explorer.exe
by Gio710
20 Jun 2022, 06:24
Forum: Ask for Help (v1)
Topic: change folder size after having opened it
Replies: 5
Views: 568

Re: change folder size after having opened it

thanks ! I changed thnigs a bit, but still can't get some stuff right, like the PIDoutput variable after run : if not WinExist(AhkIDTitle) { Run %Path%,%Path%,Max, TitlePIDVar ; run the program and store its process ID in 'OutputVarID' TitlePID = ahk_pid %TitlePIDVar% msgbox Ligne '%A_LineNumber%'- ...
by Gio710
17 Jun 2022, 09:05
Forum: Ask for Help (v1)
Topic: change folder size after having opened it
Replies: 5
Views: 568

change folder size after having opened it

Hi, In several macros to open and reseize some folders, I cannot get to resize it's windows direvctly after having opened it. I open the folder with a run command. Everything after that is not executed. I must do sth wrong. What ? Here is the 1st part with run opening SetTitleMatchMode, 3 WinGet, Ah...

Go to advanced search