If a folder, D:\xxx has 3 files, file1.doc, file2.xls, file3.ppt, the following code tries to invoke explorer to bring up the folder with the cursor stay at file2.xls?
[Mod edit: Removed non-working ChatGPT code.]
I tried the code, it brought up the folder, but the cursor did not stay where I wished.
Does anyone know how to fix this? Thanks a lot!
To invoke explorer to bring up a folder with cursor stay at certain place Topic is solved
Re: To invoke explorer to bring up a folder with cursor stay at certain place
Well, replicating the AI code from the locked topic, just without mentioning ChatGPT, is actually not what I suggested.
I suggested asking questions about your own code (attempts). If (for whatever reasons), you don't have anything to show, it would be better to don't post any code at all. In that case, a detailed problem description would be prefered.
Also, we don't want to re-feed future versions of ChatGPT its own non-working code...
Perhaps someone is able to help on what's left above - but feel free to add to the problem description.
I suggested asking questions about your own code (attempts). If (for whatever reasons), you don't have anything to show, it would be better to don't post any code at all. In that case, a detailed problem description would be prefered.
Also, we don't want to re-feed future versions of ChatGPT its own non-working code...
Perhaps someone is able to help on what's left above - but feel free to add to the problem description.
Re: To invoke explorer to bring up a folder with cursor stay at certain place Topic is solved
Sorry, I finally figure it out.
The code works.
Code: Select all
xx := "D:\xxx\file2.xls"
cmd := "explorer /select," xx
Run, %cmd%