Close
Showing results 1 to 2 of 2
  1. #1

    Default Problems Renaming Windows

    Hello - first post and I hope its the right place!

    I've been reading around a bit here and on the HotkeyNet Forums
    to find some hints for my problem, but to no avail it seems.

    I've got HotkeyNet 0.1.45 build 210 - running it as Administrator
    in Win7 x64.

    The Game I'd like to rename the Windows of is Lineage II and here
    comes a description of what happens:

    I made a Launch Hotkey to start and rename the windows. Its saying
    it found the corresponding Window and its renaming it etc - but nothing
    happens.
    I then made a Renaming Window - Hotkey and using that it works!
    (most of the time anyways .. )

    So I'll paste my script and the output here - maybe someone has an Idea?
    I've been playing a round with a lot of <Wait>s etc but im running out of idea's...


    HotkeyNet Output:
    The Launch Hotkey:
    Code:
    From this pc: <Run "D:\Lineage II\system\l2.exe"><Run "D:\Lineage II\system\l2.exe"> completed: Window found. Target set to 0x2038C ""
    <WaitForWin "Lineage II" 20000> completed: Window found. Target set to 0x1039A
    <WaitForWinEnabled 20000> completed
    <RenameWin "Lineage II" L2Main> completed: Window found. Target set to 0x1039A "Lineage II". Window renamed "L2Main"
    
    
    From this pc: <Run "D:\Lineage II\system\l2.exe">
    <Run "D:\Lineage II\system\l2.exe"> completed: Window found. Target set to 0x103AC ""
    <WaitForWin "Lineage II" 20000> completed: Window found. Target set to 0x1039A
    <WaitForWinEnabled 20000> completed
    <RenameWin "Lineage II" L2Box> completed: Window found. Target set to 0x1039A "Lineage II". Window renamed "L2Box"
    As you can see its saying successful ... but it didn't work!

    I then use the Rename Hotkey:
    Code:
    From this pc: <RenameWin "Lineage II" L2Main><RenameWin "Lineage II" L2Box><RenameWin "Lineage II" L2Main> completed: Window found. Target set to 0x1039A "Lineage II". Window renamed "L2Main"
    <RenameWin "Lineage II" L2Box> completed: Window found. Target set to 0x103DC "Lineage II". Window renamed "L2Box"
    This works 90% of the time!
    (It mostly doesn't if I try to rename the clients when I had them open for a while playing .. )

    Here the Script for the Hotkeys:

    Code:
    <Command Starter>
       <SendPC %1%> 
          <Run "D:\Lineage II\system\l2.exe">
    
    <Hotkey Alt Ctrl L>
        <Starter Local>
        <WaitForWin "Lineage II" 20000>
        <WaitForWinEnabled 20000>
        <RenameWin "Lineage II" L2Main>
        <Starter Local>
        <WaitForWin "Lineage II" 20000>
        <WaitForWinEnabled 20000>
        <RenameWin "Lineage II" L2Box>
    
    <Hotkey Ctrl Alt R>
        <SendPC local>
            <RenameWin "Lineage II" L2Main> 
            <RenameWin "Lineage II" L2Box>

  2. #2

    Default

    Apparently L2 is designed to rename itself every time it moves to the foreground.

    http://www.hotkeynet.com/phpBB3/view...php?f=3&t=2073

    I'd start with the code at the end of that thread and see if it fixes your issues.
    Blog : Herding Khats
    Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
    Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
    The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
    *Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*

    _ Forum search letting you down? Use the custom Google search _

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •