How to list all Sketchup.send_action?
-
I know there is a way to list all SketchUp's send_action but I seem to have forgotten it.
Can someone enlighten me?
-
Unknown to me... the Ruby documentation have a list though.
-
Here's one but it won't work for me.
http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=23321#p197850
-
!
We have long had a snippet list of the actions strings in this forum:
[Code] Sketchup.send_action() : Arguments to
Be sure to read down the thread for updates, omissions, new actions found, old ones retired etc.
@thomthom, I'll file an issue to update the official docs using this thread as a reference.
-
I have used a command line utility to scan the executable for strings ending in a colon. Something like this:
> strings sketchup.exe | grep -e ";$" -
@ Dan: Thanks, but how do you retrieve those string and numeric lists?
Surely not by manually entering all numbers between 1 and 21560? -
@pixero said:
@ Dan: Thanks, but how do you retrieve those string and numeric lists?
Surely not by manually entering all numbers between 1 and 21560?I don't know where the numbers come from, but the docs say they aren't guaranteed to work anyway.
-
Yeah, but I'm not going to make any public release of my script. It's purely for me.

-
I can get some command ID numbers from menu items and buttons etc. by using a resource inspector utility. Currently I am using one named "Inspect Object" that comes with Microsoft Windows SDK, that can inspect GUI objects in realtime of all running applications.
P.S. - command ID integers only work on the Windows platform.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement