Sorry for trivial questions, but I have not found anything in the manual about this;
1. Is it possible to use single- rather than double-click to enter a new item?
2. Also, is it possible to enter edit mode by single-click and start the edit at the point of the cursor rather than at the beginning/end of the item text?
(I am just so used to this after 17 years with Ecco...)
Edited
How do I ?
Comments
(1) I hate double-clicks…
(1) I hate double-clicks myself. Enter creates a new item here -- I think that's default but not sure. There is an option (1.2.31) "While editing, Enter creates a new item" which I dont have ticked -- if editing I will have to press Enter twice to get a new item.
(2) Not sure what the default setting is, but it's there in the options 1.2.28 -- Single click starts edit | Set to "Any cell text"
PS if you're looking for an option, it's often easier to find it in options rather than the manual. It's still a bit of a troll to get through the list, but can also be a good for finding what is possible in general.
@Tom, Sorry, I forgot to…
@Tom,
Sorry, I forgot to edit my post.
1. Yes, I have the box checked so a single Enter creates a new item (also in edit mode).
However, I wanted to single click in the grid to create a new item rather than have to Enter or double-click. I think that this may be an internal feature of the Grid and it may not be possible to change?
2. I found the option to single-click to enter Edit mode. However, I wanted to edit at the point where I click with the cursor. Now it always goes to the beginning of the item (or at the end if using the space bar). Again, I suspect that this may not be possible to change?
Thanks for also adding a new…
Thanks for also adding a new post (edits can make a thread very confused and confusing)
Hi. I use a gaming mouse…
Hi.
@Left, Thanks for the offer…
@Left,
Thanks for the offer to help with AHK (I have never used it). However, I have AutoMate. Not sure if that one could also be used?
Let's first wait to see if Pierre has any suggestions.
Did you post any requests about this in the Forum in the past?
EDIT:
3. Another issue is that when I have a blank item, single clicking to try to edit (i.e. add text) doesn't work. The only way to edit is by F2 or space bar in this case.. Maybe a bug?
@Left, I looked into…
@Left,
I looked into Automate, but there does not appear to be mouse click trigger :-(.
So, for AHK, I assume that there is a mouse click trigger? Is there a left mouse click trigger? E.g. when clicking on an item in the grid, the AHK script would be invoked to enter InfoQube into edit mode and put the cursor were the mouse was clicked.
Would it be possible to have a script something like this (for #2)?
In the next version: New:…
In the next version:
HTH !
Pierre_Admin
IQ Designer
Wow! That's great Pierre!…
Wow!
That's great Pierre! Thanks!
Will that also work on a blank item? Currently, I can't edit a blank item (to add text) by single or double clicking.
EDIT:
I just realized that after selecting a blank item, it enters edit mode when I start typing. I am not sure if it would even be possible to also enter edit mode after a single click because how would IQ know if I wanted to select or edit the item?
(I recently discovered that single clicking on an item selects it if clicked outside of the text, but enters edit mode if clicked on the text!)
Also, is there any way to create a new item with a single click on an empty row? Currently, only double-clicking works.
I'm guessing this one is…
I'm guessing this one is solved. Let me know if you want further assistance with AHK in the future. Yes, you can assign a script to any mouse button with AHK.
I am still struggling with…
I am still struggling with entering new items....
"Enter" doesn't always work because it depends on what is selected when I select a grid. In general, I want to enter a new item at the bottom of the Grid (but I also want a new item to be created below the currently selected one when hitting "enter").
I am stuck with double clicking at the bottom of a grid. I hate double clicking and frequently, after trying to double-clicking at the bottom of the grid, an extra click is entered and I can then not add any text. In this case, I need to select the item and then go back to edit mode.
I so much wish that there was an option to single click at the bottom of the grid to create a new item (like in Ecco).
Please Pierre, could you consider a single-click to enter a new item as a user selectable option...🥺 ??
I'll add an option to…
I'll add an option to control where new items appear when you press Insert. In addition, holding a modifier (shift, ctrl) will invert the behaviour
Thanks. Is there maybe…
Thanks.
Is there maybe technical reason why we can't have an option to create a new item by a single-click at the bottom of the grid (like in Ecco)? It is is very convenient...
In the next version: New:…
In the next version:
@Left, Could you please help…
@Left,
Could you please help with an AHK script in v.1.34.03 and v2.0b7 (if you have used it)?
If IQ active window, then if
Tilting mouse wheel to the left => send "insert"
Tilting mouse wheel to the right => send "ctrl+d"
Try this: WheelLeft:: Send …
Try this:
@Left, Thanks, but I don't…
@Left,
Thanks, but I don't understand it (I am used to another program; Automate). I guess that I need to go the website and read up about it;
1. Is there no trigger? If I execute the ahk file, will it constantly monitor the mouse wheel?
2. How does it know what application is in the foreground? I only want the script to be active when the IQ is in the foreground.
Left may come back to help…
Left may come back to help you but AHK help online is extensive !!
ahk help - Google Search
AutoHotkey has a trigger…
AutoHotkey has a trigger command to limit its effect to one program
If this doesn't work, then you may need to check how to get the right program name for InfoQube. As Pierre said, there's a lot of online help for AutoHotKey so a quick search should help.
You can use this to specify…
You can use this to specify InfoQube's main window globally as the hotkey's context:
If you need to make it more specific, e. g. because you only want the hotkey to be active when a grid has focus, but not while editing an item within the grid, you have to add a few more details. Let me know if that is the case.
@Left, That works great…
@Left,
That works great. Thanks!
What is the difference between
and
as suggested by Cyganet?
Hey, glad you got it working…
Hey, glad you got it working satisfactorily.
Unless you specify any of the ahk_... keywords, Autohotkey will look only at the current window's title as shown in the title bar. If yours is literally (or starts with) "InfoQube", the commands below that instance of #If will be executed. This might be the case, depending on your IQ configuration but my window title for IQ, for example, is very different ("IQ - " + path of open file + name and item number for active grid).
So instead we have to use ahk_exe to point to any window created by InfoQube.exe but since we don't want the hotkeys to be active for confirmation dialogs, for example, we can use ahk_class to narrow this down to only the main IQ window frame.
To make hotkeys even more specific, Autohotkey functions can be used to look at what control inside a window is in focus, e. g. to check if the cursor is inside the Omnibox, we can add Win_GetFocusedInstance() = "RichEdit20W2" to the #If condition.
The syntactic difference between #IfWinActive and #If WinActive(...) is negligible.