Jump to content
LaunchBox Community Forums

Cnells2000

Members
  • Posts

    391
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Cnells2000

  1. On 1/28/2022 at 3:12 AM, NagakiriHidechi said:

    Whenever a dialogue box has to show up (such as confirming that I want to delete a game), it's always mostly off the far right edge of the screen. There's just barely enough of a widow for me to grab an pull back towords the center where I can see it.

    im getting this problem right now I'm using a 1920x1080, 100% scaling, single monitor setup. as well

  2. 15 hours ago, C-Beats said:

    You have to be connected to your DB account for the scores to upload. You can do so by opening LaunchBox and going to Tools > Cloud >> Connect to LaunchBox Games Database

    do i have to wait 24 hours or something? im still playing and they are not updating. Is there an update button for hi-schore refresh. ive always been connected to the cloud database but i dont see my name

  3. 1 hour ago, Retro808 said:

    You would have to copy the Default theme folder and rename it. Then you can edit that theme. Open the GameDetailsView.xaml to edit. I have not looked at the Default code so not 100% sure but there might be a Storyboard trigger for the video. If there is that would likely be the target to edit. 

    Again, not 100% as I never really looked at the code of the Default LB theme. 

    i do see a section called storyboard trigger. but i would not know where to begin to type the needed words to make the video load faster

  4. On 7/1/2023 at 9:46 AM, JoeViking245 said:

    Out of curiosity, (assuming your I-Pac is in keyboard mode and not Xinput mode

    Definitely In keyboard Mode using 1256qwertyghjklzxcvbop, enter, and escape only.

    Results Adding your line SetKeyDelay, 100, 50

    Spoiler

    SetKeyDelay, 100, 50
    SetTitleMatchMode, 2


    Sleep, 6000

    WinActivate ahk_exe KeyboardSplitter.exe

    Send {Alt}
    Send {Right 4}
    Send {Down}
    Send {Right}
    Send {Down}
    Send {Enter}
    Sleep, 3000
    Send, {Tab}
    Send {Enter}


    ; Wait until the process closes
    Process, WaitClose, tmnt.exe

    ; give it a sec to completely close
    Sleep, 3000

    Send {Tab}

    ; Send Enter key
    Send {Enter}
    Sleep, 2000

    ; Send Alt + F4 to close the Keyboard Splitter Program
    Send !{F4}

    ;not required
    ;ExitApp

     

    Results are exactly as the same video above after applying this script

  5. 12 hours ago, JoeViking245 said:

    To clarify, you got the script to work on one computer, but it doesn't work on a different computer?

    correct. my actual arcade cabinet with usb keyboard and I-pac encoder

    12 hours ago, JoeViking245 said:

    In your 2nd video here, it looks like when you double-click the script, KeyboardSplitter takes focus.

    In the 2nd video, i clicked on it manually with my mouse. i was just showing you it has the same results whether im in launchbox or not

     

    Spoiler

    SetKeyDelay, 100
    SetTitleMatchMode, 2


    Sleep, 3000

    WinActivate ahk_exe KeyboardSplitter.exe

    Send {Alt}
    Send {Right 4}
    Send {Down}
    Send {Right}
    Send {Down}
    Send {Enter}
    Sleep, 3000
    Send, {Tab}
    Send {Enter}


    ; Wait until the process closes
    Process, WaitClose, tmnt.exe

    ; give it a sec to completely close
    Sleep, 3000

    Send {Tab}

    ; Send Enter key
    Send {Enter}
    Sleep, 2000

    ; Send Alt + F4 to close the Keyboard Splitter Program
    Send !{F4}

    ;not required
    ;ExitApp

    The set Key delay was already at the top. I just forgot to copy that part by accident. the results are the recent videos above.

  6. Spoiler

    Sleep, 6000

    WinActivate ahk_exe KeyboardSplitter.exe

    Send {Alt}
    Send {Right 4}
    Send {Down}
    Send {Right}
    Send {Down}
    Send {Enter}
    Sleep, 3000
    Send, {Tab}
    Send {Enter}


    ; Wait until the process closes
    Process, WaitClose, tmnt.exe

    ; give it a sec to completely close
    Sleep, 3000

    Send {Tab}

    ; Send Enter key
    Send {Enter}
    Sleep, 2000

    ; Send Alt + F4 to close the Keyboard Splitter Program
    Send !{F4}

    ;not required
    ;ExitApp

    @JoeViking245@skizzosjtafter adding that script

     

    I added that msg box on another script, a little box comes in the middle of the screen saying all the msgs i typed. But it appeared behind launchbox even though i have startup disabled and alt and enters and directions went all over the place except for keyboard splitter.

     

    Here Is Me running the script and waiting W/O Launchbox involved.

     

     

    Still Not grabbing.

  7. @JoeViking245 I Still don't understand what this means.... Or how i would begin to type this

    4 hours ago, JoeViking245 said:

    Like right before the 1st "Send", add "MsgBox, About to send keys".  Then after those sends', "MsgBox, Keys sent Waiting for tmnt to exit".  And maybe some others if you feel like it.

     

     

    Yes the window is in focus. Its the active window.

    I added that winactivate thing u said. Hope i typed and placed it correctly.

    Spoiler

    SetKeyDelay, 100
    SetTitleMatchMode, 2

    Sleep, 3000

    WinActivate ahk_exe Keyboard Splitter TMNT.exe

    Send {Alt}
    Send {Right 4}
    Send {Down}
    Send {Right}
    Send {Down}
    Send {Enter}
    Sleep, 3000
    Send, {Tab}
    Send {Enter}


    ; Wait until the process closes
    Process, WaitClose, tmnt.exe

    ; give it a sec to completely close
    Sleep, 3000

    Send {Tab}

    ; Send Enter key
    Send {Enter}
    Sleep, 2000

    ; Send Alt + F4 to close the Keyboard Splitter Program
    Send !{F4}

    ;not required
    ;ExitApp

     

     

    Untitled.thumb.jpg.141a8d9cdfa28be44b5aba2f83d53e2a.jpg

    The shortcut is named Keyboard Splitter TMNT

     

    This Is What my Active And Non Active Window Looks Like

    982255892_NotActive.thumb.png.8105a8c49bf36330bd55d9c4650e85a6.png

     

    After Adding That Line, this is the video

     

    I can press the keys manually. it just wont work automatically

  8. @JoeViking245@skizzosjt wondering if u could help me with one more thing....I created the script for a practice fun for use on my pc and i just transitioned over to my actual arcade. Im now running the script  and it works the same bc i see it moving on a notepad. But i cant get it to focus on the program. even though the window is in focus. i changed the script at the beginning and extended the length it takes to begin and still nothing. the script runs and dissapears like its supposed to but it doesnt make the movements.  works on other windows like notepad, browser, File explorer, etc

    My keyboard works fine and i can do the movements manually.....just cant get it to focus on the keyboard splitter program, even though its in focus. i disable startup also.

    8 hours ago, skizzosjt said:

    Troubleshooting tip. To see where your script is when running double click on the tray icon or you can select certain things by right clicking on it too.  (right click > Open will take you to the same page as double clicking tray icon) it shows all the history of the lines that have executed and the time taken to do so etc. If you checked this you would notice your script stops at the same spot each time. Use this to aid with troubleshooting problems or just seeing the flow of a script, etc.

    i couldnt find this. the script is working the same though. its even doing the alt +F4 at the end on other windows. Just Not that window.

    as u can see it focuses on other windows just not that one.

  9. So Here is the Script at the end. Thank You guys.

    Spoiler

    SetKeyDelay, 100
    SetTitleMatchMode, 2

    Sleep, 3000

    Send {Alt}
    Send {Right 4}
    Send {Down}
    Send {Right}
    Send {Down}
    Send {Enter}
    Sleep, 3000
    Send, {Tab}
    Send {Enter}


    ; Wait until the process closes
    Process, WaitClose, tmnt.exe

    ; give it a sec to completely close
    Sleep, 3000

    Send {Tab}

    ; Send Enter key
    Send {Enter}
    Sleep, 2000

    ; Send Alt + F4 to close the Keyboard Splitter Program
    Send !{F4}

    ;not required
    ;ExitApp

     

    • Like 2
  10. 37 minutes ago, skizzosjt said:

    This line is messing things up for you

    Holy s#!t. It was exactly what u said. everything works now. BTW, this is a perfect way to make games like SOR 4, TMNT shredders revenge, Etc work with keyboard controls for an arcade setting

    Thank you very much @JoeViking245 and @skizzosjt! u guys are wonderful.

    @JoeViking245 thank you for helping me simplify my script. I did'nt know u could add a 4 beside the direction prompt!

     

     

    Skizzosjt Suggestion With JoeViking245 Script Result

     

    • Game On 1
  11. 3 hours ago, JoeViking245 said:

    Try giving tmnt more time to [fully] close. (1 [FULL] second? 2 seconds?)

    Is it safe to assume that 'Send {Tab}' is to set focus on "OK" (then 'Send {Enter}' to select it)?

     

    SetKeyDelay, 100
    SetTitleMatchMode, 2
    
    Sleep, 3000
    
    Send {Alt}
    Send {Right 4}
    Send {Down}
    Send {Right}
    Send {Down}
    Send {Enter}
    Sleep, 3000
    Send, {Tab}
    Send {Enter}
    
    ; Wait for the "tmnt.exe" window to become active
    WinWaitActive, tmnt.exe
    
    ; Wait until the process closes
    Process, WaitClose, tmnt.exe
    
    ; give it a sec to completely close
    Sleep 1000
    
    Send {Tab}
    
    ; Send Enter key
    Send {Enter}
    Sleep 2000
    
    ; Send Alt + F4 to close the Keyboard Splitter Program
    Send !{F4}
    
    ;not required
    ;ExitApp

     

     

    @JoeViking245 Script results: i changed the 1000 to 3000 to give it more time. didnt know if i needed to add a comma to the sleep 1000 and sleep 2000 so i made a script with the commas and without.

     

     

    the window is highlighted after exiting game on your script video and mine and i can manually push the tab key and make it move to ok, the script isn't just doing it yet. still stopping at same area.

  12. couple hours later....

    I started looking for solutions everyhere and came across this after using Chatgpt.

    it game me a script and i added a couple things and it got really close!!! holy $#@! Skynet is getting scary!!

    It gave me:

    ; Wait for 3 seconds
    Sleep 3000

    ; Send Alt key
    Send {Alt}
    Sleep 100

    ; Send Right arrow key (4 times)
    Send {Right}
    Sleep 100
    Send {Right}
    Sleep 100
    Send {Right}
    Sleep 100
    Send {Right}
    Sleep 100

    ; Send Down arrow key
    Send {Down}
    Sleep 100

    ; Send Right arrow key
    Send {Right}
    Sleep 100

    ; Send Down arrow key
    Send {Down}
    Sleep 100

    ; Send Enter key
    Send {Enter}
    Sleep 100

    ; Wait for 3 seconds
    Sleep 3000

    ; Send Tab key
    Send {Tab}
    Sleep 100

    ; Send Enter key
    Send {Enter}
    Sleep 100

    SetTitleMatchMode, 2                                                           ----------------I ADDED THIS AREA

    ; Wait for the "tmnt.exe" window to become active
    WinWaitActive, tmnt.exe

    ; Wait until the process closes
    Process, WaitClose, tmnt.exe
    Sleep 100                                                                                ----------------PART I ADDED ENDS HERE

    Send {Tab}
    Sleep 100

    ; Send Enter key
    Send {Enter}
    Sleep 2000

    ; Send Alt + F4 to close the Keyboard Splitter Program
    Send !{F4}

    ExitApp

     

    This is the Result:

     

     

     

    It Seems to Go all the way through to 00:26 then it stops.....it needs to finish this part. the script is still open on the bottom right so its not finished somewhere....

    Its supposed to finish these steps.....

     

    Send {Tab}
    Sleep 100

    ; Send Enter key
    Send {Enter}
    Sleep 2000

    ; Send Alt + F4 to close the Keyboard Splitter Program
    Send !{F4}

    ExitApp

     

    Its nearly there!! can someone please help me finish this?

     

     

  13. Hey Everyone. I Have A Program Im Trying to use with a script. it set up to boot like i need it to but the rest has to be done by script. i have a video below of exactly how it can be done, i just dont know how to make the script. could someone help me with a script for this please? Much appreciated.

     

    The Script Is Wait Like 2 Seconds....Alt Key, Right, Right, Right, Right, Down, Right, Down, Enter Key  Wait Like 1.5 Secs....Tab, Enter Key.  (The game will load like normal. Wait till im done playing. when i exit the game, Send the Tab Key, Enter Key. And Finally Alt+F4 to close. Done.

     

    Any Help Will Be Appreciated. This program has no hotkeys, Hence why im trying to do this. thanks guys.

     

     

×
×
  • Create New...