Hotkey for script

Hotkey for script

ponomarevcs
Participant Participant
1,977 Views
7 Replies
Message 1 of 8

Hotkey for script

ponomarevcs
Participant
Participant

Can I assign hotkey to specific Python script in Fusion 360?

0 Likes
1,978 Views
7 Replies
Replies (7)
Message 2 of 8

debreuil
Participant
Participant

I don't think so. The user can assign a script to it if it is an Add-In, and that sticks across restarts, but that isn't settable by the script last I checked.

0 Likes
Message 3 of 8

johan
Enthusiast
Enthusiast

That is so stupid. One makes a script to do a bunch of actions, and then needs 3 clicks, to execute it.

 

0 Likes
Message 4 of 8

kandennti
Mentor
Mentor

Hi @johan -San.

 

Although not hotkey, this add-in should make it easier to run scripts.

https://github.com/kantoku-code/Fusion360_ScriptLauncher 

 

The instructions are in Japanese only, but there should be no problem in using it.
Registered scripts are stored in a tree and can be executed by double-clicking on them.
You should be able to leave this dialog displayed and do other work.

0 Likes
Message 5 of 8

Tomas_V_cz
Advocate
Advocate

Hello, would it be possible to describe how to activate and use the script? For example, using pictures.

I would like to use this script for example with this script

https://forums.autodesk.com/t5/fusion-manufacture/skritp-for-fast-and-flexible-renaming-of-many-cam-...

(both plugins are installed and the renaming script works, but I don't know how to use your plugin)

0 Likes
Message 6 of 8

kandennti
Mentor
Mentor

@Tomas_V_cz -San.

 

・Download and extract the file from github.

 

・Click the green plus in the "Add-ins" tab and specify the "ScriptLauncher" folder in the extracted folder.

1.png


Run the add-ins and if you find "Script Launcher" here, you have succeeded.

1.png

Message 7 of 8

Tomas_V_cz
Advocate
Advocate

thank you very much.

So the error was that the add-on is only displayed in the CAD part, but it is not visible in the CAM - in the manufacturing part of Fusion.

Would it be possible to display it there as well?

And it would also be good to add an option so that, for example, popular scripts are displayed directly in the root (without the need to select the initial letter).

thank you very much

0 Likes
Message 8 of 8

kandennti
Mentor
Mentor

@Tomas_V_cz -San.

 

Thanks for the advice. I can't get to it right away, but I want to incorporate good ideas.

0 Likes