Open in a NEW WINDOW or Run/Launch an application before running the CURRENT Shortcut
Started by gks


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


5 posts in this topic
gks
Junior Member
**


0
18 posts 4 threads Joined: Nov 2014
02-16-2015, 09:30 PM -
#3
Thanks,

I've 2 distinct 'parts' of workflow(s) ->

(1)
(a) In TLB Menu I've added some locations to 'OneNote Pages'
(b) Now i open a onenote page -> It opens correctly
© then i click on another onenote page shortcut in TLB -> It opens 'this' shortcut also in the 'SAME' window in which the previous onenote page was opened and thus over-riding the previously opened location in onenote, while I want to open 'this' new page in a new onenote window
(d) I might have a small workaround for it -> adding onenote.exe (full path) before the shortcut in the TLB-item properties
Problem with this approach -> It will truncate the path string from the end
(e) I've devised a perfectly working work-around for it -> I've developed an ahk script which has 2 lines ->
line 1 -> Open a new instance of onenote using onenote-specific keyboard shortcut
line 2 -> open the onenote location

Thus for adding a shortcut to onenote page in TLB menu ->
(i) I create a new ahk script and add the onenote page location in this ahk script
(ii) then in TLB menu -> I add the shortcut to 'this AHK script' and not to the onenote location
Problem with this approach -> For each onenote location i've to write a SEPARATE ahk script which is a time-and-MOOD-consuming / wasting-task

(f) So what i want is ->
I want to add the 'Onenote Location' shortcut to TLB and not to Ahk script
then in this shortcut's properties somewhere i can tell -> Run OpenNewWindow.ahk (to open a new onenote window) BEFORE running the shortcut for 'THIS TLB Menu-item'

So that when i click on TLB Menu item -> It will first open a new instance of onenote and then will run the TLB-menu-item shortcut

(g) So the requirement is to have an option in TLB-Menu Properties / Appearance - to 'RUN AN APPLICATION BEFORE / AFTER running the 'path' specified for THIS TLB-menu-ITEM'

(2) Same thing is required for google chrome as i've added some web-locations to TLB menu

One More request ->
Many times for the shortcut to a onenote page which is under many levels in onenote -> THE PATH IS TRUNCATED IN THE END as shown in TLB-items properties, and does Not work as the truncated location is NOT FOUND
While it seems to work fine if the path is given in an ahk script and then ahk script is run

Is there any work-around for using the longer paths 'using TLB menu only' without using the ahk script ?



Messages In This Thread
RE: Open in a NEW WINDOW or Run/Launch an application before running the CURRENT Shortcut - by gks - 02-16-2015, 09:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)