TLM wrote:
Honestly, like you said before it would probably be better to not allow the user to create their own hotkeys.
Its not as simple as you might think as there are several things to take into consideration. You will have lots of troubleshooting ahead of you to get it working error free!
If it were me, I would 1st focus on min/max and export importing of the files between the apps, just to keep it simple

.
ill just add the hotkeys inside the code and let the user change the hotkeys to the same ones in his 3d app
can you straight this out?
its not working like i want because i messed with it.
i added these
Send, {CTRLDOWN}e{CTRLUP}
Send, tool.obj{TAB}{TAB}{ENTER}
but it doesnt save or LOAD from C:\
there is a box on top of each app for import and export
and it will allow you to change it to like C:\
but i dunno how in a script ahk
EDITi can put C:\MYTool.obj
and it works but im not sure this will work for everyone else
PLUS need to stop it from asking to over write the obj
and just do it
nostroke wrote:
it works but it does not shut down
it loops and keeps asking me the same questions
there is no F1 and it does not ask me what the name of the app is
it ask me the hotkeys only.
i think this might work below but i cant figure out how to save it to C:\
and load it from C:\
Code:
F1::
FileReadLine, var1, C:\Switch.txt, 1
FileReadLine, var2, C:\Switch.txt, 2
SetTitleMatchMode, 2
IfWinActive, %var1%
{
Send, {CTRLDOWN}e{CTRLUP}
Send, tool.obj{TAB}{TAB}{ENTER}
WinMinimize, %var1%
MsgBox, 0, , you exported
Sleep, 100
WinMaximize, %var2%
Return
}
SetTitleMatchMode, 2
IfWinActive, %var2%
{
Send, {CTRLDOWN}i{CTRLUP}
Send, tool.obj{TAB}{TAB}{ENTER}
WinMinimize, %var2%
MsgBox, 0, , you imported
Sleep, 100
WinMaximize, %var1%
Return
}
F2::ExitAPP
Return
F3::
FileDelete, C:\Switch.txt
inputbox, var1, Window 1, What is the name of the first window?`nWindow titles are case sensitive.
inputbox, var2, Window 2, What is the name of the second window?`nWindow titles are case sensitive.
FileAppend, %var1%`n, C:\Switch.txt
FileAppend, %var2%, C:\Switch.txt
Return