Submitted by carloscadu on 2020/09/19 10:24
 Hi,
 
Based on this thread discussions, it seems to be missing in IQ easier methods to move items around:
"What are the possibilities to move items around IQ, making them exclusive to the destination grid?"
 
Then, I'm suggesting two complementary methods to improve the IQ possibilities to move items:
 
a)  Cut (Ctrl+X) on selected items then Paste (Ctrl+V)
Currently, for selected items (Ctrl+S), when you Cut (Ctrl+X) there is a pop-up window that is the same as if you press "Delete".
It seems the Cut (Ctrl+X) command is being underutilized in that case, and could be used for moving items around.
When you Cut (Ctrl+X) the selected items and Paste (Ctrl+V), the items (full row) would be moved from their initial location (cut) to the new ones (paste).
 
b) Add "Move as Sub-items" command on the context menu for marked items 
After marking items (Ctrl+Shift+M), the command "Move as Sub-items" would be enabled to move the items.
The new "move" command would work complementary to the already available "Add as Sub-Items" command.
A draft image of the command on the context menu follows below.
 
Thanks,
Carlos
 
 

Comments

+1(00) from me and thanks, Carlos, for following up on this. A solution had been suggested in the older thread and Pierre had chimed in but somehow it appears to have lost its momentum.

 Hi Pierre,
 
Just following up this feature suggestion.
I do miss a command (with shortcut) to move items around InfoQube.
 
Regarding the suggestion (a) to cut the full item using Ctrl+X, maybe it would be better to add a second command "Cut Item" (Ctrl+Shift+X).
The command "Cut Item" could also be available on the context menu.
Similarly to the "Copy" command that has sub-menus, the "Cut" command could expand the functionality to both regular "Cut (Ctrl+X)" and "Cut Item" (Ctrl+Shift+X).
 
About suggestion (b), I still believing that a "Move as Sub-Items" for Marked Items would be very convenient as well.
 
Thank you,
Carlos
 

 

LeftEccoForIQ

2021/03/02 04:06

In reply to by carloscadu

+1
 
Thanks

Have now figured out a way to have Windows Explorer-style cut and paste with Autohotkey, leaning on IQ's 'Marked Items' functionality:

  1. Select the items you want to cut from their current position in the grid to paste them elsewhere in the same or in a different grid using the mouse or keyboard
  2. With the items selected, use this Autohotkey command to 'save' the items as Marked Items (they show up in a section of the Properties Pane) and remove them from their current position:

Send, +^m^d2

3. Navigate to the position you want the items moved to.

4. Use this Autohotkey command to paste the cut items as siblings of the currently focused item:

Send, {Enter}+^!v^{Left}^!s!{Left}!{Up}{Down}^d1+^!c{F5}

What this latter string of keys does in detail is:

  • create a dummy parent item (IQ Marked Items can currently only be pasted as subitems)
  • paste the cut items as subitems of the dummy parent
  • collapse the tree and set the focus on the dummy parent
  • select the pasted items (now subitems of the dummy parent)
  • promote the pasted items to the level of the dummy parent
  • delete the dummy parent
  • refresh the grid

For this to work, you need the following partly custom shortcuts (I think I set some of these combos to my liking, not sure what the default shortcuts are for these commands - if they have any) are set in IQ:

 

1026    F5    Refresh

1131    Ctrl+Shift+M    Mark Items
1229    Ctrl+Shift+Alt+C    Clear list of Marked Items
1133    Ctrl+Shift+Alt+V    Add as Sub-Items

If you're fine with pasting cut items only as subitems rather than as siblings, you could simplify the second command to:

Send, +^!v+^!c

It works great! Yet, a native solution could certainly be a lot quicker and smoother. I hope anyone else will find this as useful as I do - should save so much dragging and dropping, which I find particularly annoying when moving between grids that are not shown side by side and having to drag via the tab bar - something I do a lot. I'm setting both commands to simple mouse gestures.

Please be aware that I've only been using this for a few hours and it might be unreliable. Make sure to back up your data when you first try it!

 

 

Hi @Pierre_Admin

Are you considering the possibility of implementing the following functionalities?

 

a)  Cut (Ctrl+X) on selected items then Paste (Ctrl+V)
b) Add "Move as Sub-items" command on the context menu for marked items 

 

Since v118 listed the following implementation, it sounded related to those suggestions, which together could mean a big mark of v118 towards "move around" usability 😉

"Change: Grid: Drag-drop a sub-item from Grid A to Grid B now removes the sub-item from Grid A parent (unless the Ctrl key is pressed)"

 

All the best with IQ development!

Carlos