Shortcuts - Creating and Saving Internal Script Commands | Plugin


ㅤㅤㅤSHORTCUTS


New Shortcut Drop for Realistic Lighting!
https://create.roblox.com/marketplace/asset/16026520120/RealisticLighting-Shorcuts-Drop


Add this model to your workspace,
then use the Shortcuts plugin to create a Shortcut!

image


Sometimes I will release useful Drops for you and this list will be updated!

I like the idea of releasing new “official” shortcuts as drops!

Anyways, this plugin has been useful! It’s like making a simple plugin without all the complicated parts.

A suggestion for the next version of the plugin is to let users preview and change the icon without having to edit them through the drops.

1 Like

Thank you, good to hear!
I’m just about to add this in the new version!

The plugin is actually good. Not a new idea of course, but it solves problems such as storing small QoL scripts.
Also, i have a suggestion. Would be neat to have ability to request specific or optional inputs, that can be applied for anything in a shortcut itself.

1 Like

Thank you! This is a good idea, I’m also thinking about implementing it!

Do you think it’s worth adding require(target: any) to the filter?

It will be detected as Unsafe because the filter does not check the source of the module script.

Require = Unsafe?
  • Yes
  • No

0 voters

Shortcuts | Version 1.2


What’s new?

Improved Source Filter

image

Requesting input using the built-in Shortcut method.

Note: In this case, source is shown as unsafe due to the use of require, don’t worry.


Let’s explore this script!

local Shortcut = require(game:GetService("CoreGui")._Shortcut_Actions)

local User = Shortcut.AskData {
	Placeholder = "What's ur username?"
}

if User then
	Shortcut.SendNotification(`Hello, {User}!`, 2.5)
end

The built-in Shortcut module allows us to create custom input from Shortcuts and the user.

Ask Data

Shortcut.AskData(Data: {Filter: string?, Placeholder: string?})

This function allows you to prompt for input and waits for the user to respond.

Arguments:
Data → table {}

Filter → string or nil
Placeholder → string or nil

In the first argument to Filter you enter what type of data the user can enter.

-- Default
Filter = Shortcut.Filter.Both

-- Number or string
Filter = Shortcut.Filter.Numbers
Filter = Shortcut.Filter.String

That is, if you select a number filter, the user will be able to enter only a number or “” (nothing).


In the second argument to Placeholder, you choose which tooltip will be displayed to the user.

image

Note: The function returns false if the user clicked the cancel button.


Send Notification

Shortcut.SendNotification(Context: string, Time: number?)

This feature allows you to display a notification on the user’s screen.

Arguments:
Context → string
Time → number or nil

The first argument, Сontext, is what the user will see on the screen. That is your message.

-- Default
"Notification"

-- Custom
string

In the second argument Time you can specify the time at which the notification will appear in seconds.

-- Default
5

-- Custom
number

Note: This function returns a :Wait() function with which you can yield until the notification disappears.


And…

Errors in your Shortcuts are now displayed in the console, allowing you to quickly find them.

If the command is executed, a pause icon appears; if the command failed due to an error, a cross icon appears.

Improved design and interaction.

You can now change the icon of your Shortcut in edit mode.


Download in Roblox Marketplace

Get In Marketplace

It really depends, If it’s used for malicious purposes, then yes, but if used properly, then no


Ignore what @thedauser said about your plugin, At least you put some effort there, great job doing so

1 Like

This topic was closed more than a week ago, you are really really late with that.

1 Like

your Ui looks better than the other plugins like this , we can see the efforts you put in doing it :muscle:

1 Like

Thank you! I agree with your point about Require. Thanks also for your support!

2 Likes

New 4 Shortcut Drops For
UI Designers!

Get It On

Get

New drops allow you to move any UI element
with one click in 0.01 increments


Shortcuts | Get Plugin


Get

1 Like

New Shortcut Script Editor
Theme Drops!

Get It On

Get


Don't know how to add
Drops to Shotcuts?


image

Freshen up the look of your Script Editor!
You can also use the Consolas font for a better combination.

9 Mar. Theme colors have been slightly improved.


Shortcuts | Get Plugin


Get

Price: Free