Here is the script to create a separate window using AHK:
#NoEnv ; Recommended for performance and compatibility with future
AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^F3::
Run "X:\MLO portable\MLO.exe" "X:\Dropbox\MLO\test.ml"
IfWinNotActive, MyLifeOrganized ahk_class TfrmMyLifeMain, , WinActivate,
MyLifeOrganized ahk_class TfrmMyLifeMain
WinWaitActive, MyLifeOrganized ahk_class TfrmMyLifeMain
SendInput, ^!+t
SendInput, ^!o
SendInput, {F3}
return
How does the code work:
Run........ runs the portable mlo.exe located on disk "X:\..." and opens
the test.ml file
IfWinNotActive....... set MLO window active
WinWait....... waiting MLO window to become active
SendInput, ^!+t................. select a tab by pressing its hotkey
Ctrl+Alt+Shift+T (the hotkeys must be defined in the MLO application before
running the script)
SendInput, ^!o.................. select a view by pressing its hotkey
Ctrl+Alt+O
SendInput, {F3}................ Open the view into a new window
I gues the above rows can be multiplied to open many windows.
воскресенье, 19 мая 2013 г., 2:28:26 UTC+3 пользователь Andrei написал:
>
> Hello !
>
> I have placed on the desktop many separate MLO windows (i used F3 key to
> create them).
>
> When i relaunch MLO, i shall recreate all those windows manually.
> If somebody knows how to create them with a script, please help.
>
> Thank you
> Best regards,
> Andrew
>
>
>
--
You received this message because you are subscribed to the Google Groups
"MyLifeOrganized" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mylifeorganized?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.