Jump to content

Question

Posted

hi someone can have a link or a template with slider ( i want to make an script with an slider and if possible have slider on screen ) thanks

Recommended Posts

  • 0
Posted
local input = gg.prompt({"Select value :[0;10]"},{0},{"number"})

if input == nil then return
else
gg.searchNumber(input[1], 4)
  
....

 

  • 0
Posted
1 hour ago, MonkeySAN said:
gg.searchNumber(input[1], 4)

 

Just change this into

gg.editAll(input[1] **AND THE ARGUMENTS FOR YOUR EDIT SUCH AS FLAGS**)

Must be done after getResults ofcourse.

The slider is all the same. Saves input as table what's done with this table is up to the rest of the script.

  • 0
Posted (edited)

i think he's know what he's doing..

thats just an example.

i dont need to tell him...surely he knows he can swap it with for editing.

Am i right..@blocx ?

Edited by MonkeySAN
  • 0
Posted
4 hours ago, blocx said:

thanks @MonkeySANbut this is slider for search i think i want slider to.editing exemple 1 editing ( 1.1 ) 2 (1.2)

yelp..this show up on my screen just now and its 3 hours ago..before its was not there.

this happen everytime.

  • 0
Posted
3 hours ago, MonkeySAN said:

i think he's know what he's doing..

thats just an example.

i dont need to tell him...surely he knows he can swap it with for editing.

Am i right..@blocx ?

Oh sorry my bad, i thought he was unsure of what exactly is returned from the prompt class I figured I was over explaining something simple

3 hours ago, blocx said:

this is slider for search i think i want slider to.editin

This made me think that he was unsure of what was being done with the prompt, and that it made me think that he thought it was the prompt itself that resulted in action rather than a table with value of the input from the slider...

Misunderstanding maybe there's an English/french translation problem that threw me off

1 minute ago, MonkeySAN said:

yelp..this show up on my screen just now and its 3 hours ago..before its was not there.

this happen everytime.

No worries I can see how me quoting you made it seem like I was just providing a further unnecessary explanation

  • 0
Posted
3 hours ago, blocx said:

1 editing ( 1.1 ) 2 (1.2)

You can.If your editing number is AP order or simple type you can code easily

eg. for yours, useful for till 9.

lol = 1 + tonumber('0.'..input[1])

 

  • 0
Posted (edited)

he use translator?

no wonder sometime his writing confused me a bit.

i thought he just bad at English.

btw @blocx next time ask a question in full..will ya.

Edited by MonkeySAN
typo..typo..
  • 0
Posted

sorry im very limit with english and sorry if my ask is not complete thanks all to reply

  • 0
Posted
3 minutes ago, MonkeySAN said:

he use translator?

now wonder something his writing confused me a bit.

i thought he just bad at English.

btw @blocx next time ask a question in full..will ya.

Think there's an embedded translator in the webpage because on some quotes(in p.ms more often than not) I see original language sometimes until the webpage translates it

 

7 minutes ago, Lover1500 said:

You can.If your editing number is AP order or simple type you can code easily

eg. for yours, useful for till 9.

lol = 1 + tonumber('0.'..input[1])

 

Would need to be type double if I'm mistaking right?

 

3 minutes ago, blocx said:

sorry im very limit with english and sorry if my ask is not complete thanks all to reply

You're alright if a message can be interpreted in more than one way I usually inquire further to get a better contextual idea

  • 0
Posted
3 hours ago, MonkeySAN said:

i think he's know what he's doing..

thats just an example.

i dont need to tell him...surely he knows he can swap it with for editing.

Am i right..@blocx ?

not sure bro 😅 but its good i will check if i see tuto 👌 in this time i know me ask too much

  • 0
Posted (edited)
5 minutes ago, blocx said:

not sure bro 😅 but its good i will check if i see tuto 👌 in this time i know me ask too much

for me..there is nothing such as ask too much..

that is one of the way to learn.

apart from using Search button/bar 🔍on top this site.

just ask properly so people will get the idea.

😉

 

Edited by MonkeySAN
  • 0
Posted
2 minutes ago, AKidWithMidgetFriend said:

Would need to be type double if I'm mistaking right?

yeah.I think so.

believe on @blocx.He wont edit int value with his float, double. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.