Jump to content

The Hamma

Member
  • Posts

    354
  • Joined

  • Last visited

Posts posted by The Hamma

  1. 15 hours ago, martigues said:

    @scottmoore I actually used yours as a starting point for mine, and created a few more commands and I made the keys in Affinity. It is a fun process once you get the hang of it. 

    Some keys I made by changing the command shortcut in my Workspace, but for a majority of them, I used the power search workflow. I tweaked some of the timings to where they all still work very well. 

     

    Once you get a pattern going, it is easy to set up. My setup has 3 "pages". A main functions and two sub folders, one for Spotlight and one for ConnectCAD.

     

    Try it out everyone, and let me know what you think.

     

    My next project is setting up my iPad as a 64 key Stream Deck for an MA3 PC.

     

    VWX2024(MCA).streamDeckProfile.zip 1.08 MB · 2 downloads

    I installed this profile on my Window machine and none of the commands work but all of the instructions are correct.  It appears the hotkey functions are not interchangable between Windows and Mac.  If I replace the "F" hot key with a "F" it processes half of the command.  I have to replace the "Return" hot key with a "Return" and it processes the entire command.  Not sure why they are different. 

  2. 2 hours ago, Mark Aceto said:

    Platform-agnostic across Windows / Mac

    Yes I think this should be Platform- agnostic but it is slower than the method that I just posted that uses the two plugin scripts which should also be Platform-Agnostic but I have not tested it on a Mac.

     

     

    16 hours ago, The Hamma said:

    Here is my Stream Deck Profile for the Standard Architect Workspace.  I requires that you add the two attached plugins to your workspace and set their shortcuts as shown

     

    This version uses the names of the Commands, Tools or tool indexes rather than shortcuts except for the shortcuts for:

    16 hours ago, The Hamma said:

    image.png.7b7ed565e28a0dea0bb942a9aff30c8f.png

    Which it uses to call the plugins and awaits the name of the tool which is sent from Stream Deck

     

    Menu command call (note if there is not a chunk number you must add 00 to the end of every command, if there is a chunk number enter 01 for 1 and 10 for 10)

    image.png.3afd990989d8b092696005a781e56ccc.png

    Tool Name Call

    image.png.e930631a3ef90ed6f3ed4e60aa7ce9bf.png

    Tool Index call

    image.png.d743f0a4be13c017824ebc2e9e80acdc.png

    • Like 2
    • Love 1
  3. Thank you. 

    1 hour ago, MullinRJ said:

    Hello David,

       I found constants for the Slab Tool (-248) and the Wall End Cap Tool (-355). I did not find constants for the Door or Window tools, but those two can be called with CallToolByName() or SetToolByName(), as Pat mentioned.

     

  4. On 1/12/2024 at 2:49 PM, Pat Stanford said:

    B1:=CallToolByName('Door Tool');

    B1:=CallToolByName('Door Tool');

     

    works.

    Ok I was wrong about "Window Tool" and "Door Tool" being internal commands, but the other two "Slab Tool" and "Wall End Cap Tool" do not have pugins and can't be called. 

     

  5. On 1/12/2024 at 7:58 PM, SamIWas said:

    I was getting excited to write my own shortcut selector for my StreamDeck since the native shortcut system is almost full.  But I can't do it if it won't actually select the tools.

    This is actually what I’m working on.  I have written two, scripts that I use to call the functions from stream deck with a shortcut. It calls the script and then has user input for the tool name. This is where I have stream deck, enter the name of the tool. Or the index.  Which then is executed by the script.

     

    my scripts are attached.  
    I am using control+shift+alt+X for the tool shortcut

    And control+shift+alt+Z for the menu shortcut


    If I ever finish my stream deck profile, I will upload it

    PROCEDURE StreamDeckCommand;
    {Input the command name with the index at the end of the name.  Use two digits for the index name. ie. for 1 use 01 for 0 use 00.  
    Print command would be "Print00", Font Size 4 command would be "Font Size01" and Font size 144 would be "Font Size17"}
    
    VAR
    SDstring,SDStrInt:STRING;
    SDLen,SDInt:INTEGER;
    
    BEGIN
    SDstring:=StrDialog('Command to run','');
    SDLen:=Len(SDstring);
    SDStrInt:=Copy(SDstring,SDLen-1,2);
    SDInt:=Str2Num(SDStrInt);
    SDstring:=Copy(SDString,1,SDLen-2);
    if SDstring <> '' THEN DoMenuTextByName(SDstring,SDInt);
    END;
    
    RUN(StreamDeckCommand);

     

     

    PROCEDURE StreamDeckTool;
    {Either input the tool name or the tool index}
    
    VAR
    Istool,SDstring:STRING;
    Result:BOOLEAN;
    
    BEGIN
    SDstring:=StrDialog('Command to run','');
    Istool:=Copy(SDstring,1,1);
    if SDstring <> '' THEN
    	BEGIN
    		IF Istool = '-' THEN Result:=SetToolbyIndex(Str2Num(SDstring)) ELSE Result:=SetToolByName(SDstring);
    		
    	END;
    END;
    
    
    RUN(StreamDeckTool);

     

     

    StreamDeckTool.vsm

    StreamDeckCommand.vsm

  6. Looking at the Vectorscript reference it appears that SetToByName does not support internal tools and some of the "internal tools" do not have and index.  

     

    Is there any way to set the current tool using a script to those "internal tools" that do not have an index?

     

    Tools that are internal without indexes are but not limited to:

    "Door Tool"

    "Window Tool"

    "Slab Tool"

    "Wall End Cap Tool"

     

    @Pat Stanford@Jesse Cogswell@MullinRJ

     

    image.png.bd5198827bc23794c9bf7dcebeb50867.png 

  7. 4 hours ago, Wood said:

     

     

    Very clever! 

     

     

     

    Anybody with some fresh stream deck profiles willing to share?

    I am working on building a complete profile for my highly customized Architect workspace. The problem is that my space uses many custom keyboard and stream deck doesn’t make it easy to change a command from a hot key command to a multi action.  It would be better if there was a way to invoke a command in a quicker way than using the  "F" (Quick Search window) function then I would program every function using said quicker way.  

  8. 1 hour ago, Monadnoc said:

    Will this work on VW 2017 by any chance?

     It did have a command that was new and did not work but it was not necessary for the fence to work.  It also appears that 2017 is plagued with the same document units bug that affects 2023.  This file works in 2017 but it set to use "Feet" or "Feet and Inches".   If you change the document units the fence will create the wrong number of pickets.  If you use another Document Unit let me know and I can convert one of the "picket and post" files above to 2017.

     

    Pickets Fence V2017 V2.zip

    • Like 1
  9. On 7/13/2023 at 12:43 PM, The Hamma said:

    Updated 07-17-2023:

     

    One of the rails was not using the class attributes.  This error has been corrected.  If you downloaded it prior please download it again.  Only "Picket Fence.vso" has changed. 

     

  10. 6 hours ago, Tom W. said:

    I'm getting weird things going on when I change the document units to millimetres which I don't seem to be able to correct... 

    It appears that the records in the symbols are not converting the units correctly when the drawing is converted to mm.  I have to multiply every unit by 304.8 which is feet to mm factor.  Let me see what I can do.  

    • Like 2
×
×
  • Create New...