Jump to content


Photo

"Cannot Execute1 <script name> - file not found. - 2


Best Answer whitewing , 22 January 2017 - 05:38 PM

[Fixed]

Seems the issue was hiding in plain sight. I had extensions hidden and added an extra .txt to the file name so it was smn_m1g1.txt.txt.

 

removed the extra extension and everything works now.

Go to the full post


    1 reply to this topic

    #1 whitewing

    whitewing

      Newbie

    • Members
    • Pip
    • 3 posts

      Posted 22 January 2017 - 01:46 PM

      Hi,

       

      I've been trying to setup my g11 keyboard to exec macro script files when clicked.

       

      i have setup all of the alias's and put them in the init file (like i used to years ago).

      alias g11_m1g1 exec smn/smn_m1g1.txt;
      alias g11_m1g2 exec smn/smn_m1g2.txt;
      alias g11_m1g3 exec smn/smn_m1g3.txt;
      alias g11_m1g4 exec smn/smn_m1g4.txt;
      alias g11_m1g5 exec smn/smn_m1g5.txt;
      alias g11_m1g6 exec smn/smn_m1g6.txt;
      alias g11_m1g7 exec smn/smn_m1g7.txt;
      alias g11_m1g8 exec smn/smn_m1g8.txt;
      alias g11_m1g9 exec smn/smn_m1g9.txt;
      alias g11_m1g10 exec smn/smn_m1g10.txt;
      alias g11_m1g11 exec smn/smn_m1g11.txt;
      alias g11_m1g12 exec smn/smn_m1g12.txt;
      alias g11_m1g13 exec smn/smn_m1g13.txt;
      alias g11_m1g14 exec smn/smn_m1g14.txt;
      alias g11_m1g15 exec smn/smn_m1g15.txt;
      alias g11_m1g16 exec smn/smn_m1g16.txt;
      alias g11_m1g17 exec smn/smn_m1g17.txt;
      alias g11_m1g18 exec smn/smn_m1g18.txt;
      alias g11_m2g1 exec smn/smn_m2g1.txt;
      alias g11_m2g2 exec smn/smn_m2g2.txt;
      alias g11_m2g3 exec smn/smn_m2g3.txt;
      alias g11_m2g4 exec smn/smn_m2g4.txt;
      alias g11_m2g5 exec smn/smn_m2g5.txt;
      alias g11_m2g6 exec smn/smn_m2g6.txt;
      alias g11_m2g7 exec smn/smn_m2g7.txt;
      alias g11_m2g8 exec smn/smn_m2g8.txt;
      alias g11_m2g9 exec smn/smn_m2g9.txt;
      alias g11_m2g10 exec smn/smn_m2g10.txt;
      alias g11_m2g11 exec smn/smn_m2g11.txt;
      alias g11_m2g12 exec smn/smn_m2g12.txt;
      alias g11_m2g13 exec smn/smn_m2g13.txt;
      alias g11_m2g14 exec smn/smn_m2g14.txt;
      alias g11_m2g15 exec smn/smn_m2g15.txt;
      alias g11_m2g16 exec smn/smn_m2g16.txt;
      alias g11_m2g17 exec smn/smn_m2g17.txt;
      alias g11_m2g18 exec smn/smn_m2g18.txt;
      alias g11_m3g1 exec smn/smn_m3g1.txt;
      alias g11_m3g2 exec smn/smn_m3g2.txt;
      alias g11_m3g3 exec smn/smn_m3g3.txt;
      alias g11_m3g4 exec smn/smn_m3g4.txt;
      alias g11_m3g5 exec smn/smn_m3g5.txt;
      alias g11_m3g6 exec smn/smn_m3g6.txt;
      alias g11_m3g7 exec smn/smn_m3g7.txt;
      alias g11_m3g8 exec smn/smn_m3g8.txt;
      alias g11_m3g9 exec smn/smn_m3g9.txt;
      alias g11_m3g10 exec smn/smn_m3g10.txt;
      alias g11_m3g11 exec smn/smn_m3g11.txt;
      alias g11_m3g12 exec smn/smn_m3g12.txt;
      alias g11_m3g13 exec smn/smn_m3g13.txt;
      alias g11_m3g14 exec smn/smn_m3g14.txt;
      alias g11_m3g15 exec smn/smn_m3g15.txt;
      alias g11_m3g16 exec smn/smn_m3g16.txt;
      alias g11_m3g17 exec smn/smn_m3g17.txt;
      alias g11_m3g18 exec smn/smn_m3g18.txt;
      
      
      

      The binding works fine when i click on the key Windower attempts to exec the script but i get and error saying that it cannot find the file.

       

      All the files are in a folder called smn in the scripts folder, is this the right place for windower to find them or should they be somewhere else? i cannot find and documentation on how to setup txt scripts and where they "live". 

       



      #2 whitewing

      whitewing

        Newbie

      • Members
      • Pip
      • 3 posts

        Posted 22 January 2017 - 05:38 PM   Best Answer

        [Fixed]

        Seems the issue was hiding in plain sight. I had extensions hidden and added an extra .txt to the file name so it was smn_m1g1.txt.txt.

         

        removed the extra extension and everything works now.






        1 user(s) are reading this topic

        0 members, 1 guests, 0 anonymous users