Jump to content



HelloInsomnia

Member Since 10 Apr 2012
Offline Last Active Yesterday, 04:17 PM
*****

Posts I've Made

In Topic: Saved Element Image Being Overwritten

Yesterday, 03:41 PM

This works for me on the Ubot resources page:

add list to list(%ProductImageFileSaveTitle,$list from text("one
two
three","
"),"Delete","Global")
loop($list total(%ProductImageFileSaveTitle)) {
    save element image(<style="float: left; margin: 3px 10px 0px 0px; height: 61px; width: 75px;">,"{$special folder("Desktop")}/{$next list item(%ProductImageFileSaveTitle)}.jpg")
    wait(1)
}

In Topic: I Need Some Help With The Content Which Is Loaded With Ajax On Pricemage

Yesterday, 03:31 PM

Try looking in the network tab and see what url is being called and what kind of request it is.


In Topic: [Ask] How To Get To Node View From Script To Fix Error

14 January 2019 - 03:37 PM

That code looks okay to me and shouldn't throw an error.

 

A common error is when you don't have a plugin activated but your code needs it to be activated to go into node view. So look out for that if you are using plugins in your script.


In Topic: Define From Button Not Working Correctly - But Separated In Tabs Works Fine?

07 January 2019 - 12:27 PM

You must call a custom command/function after you define it to use it. You can (and probably should) define your custom commands in other tabs which are labeled and organized and then call them from the main script.

 

Example:

comment("This part is ran")
MyCommand()
divider
divider
comment("You can call this as many times as you want")
MyCommand()
divider
divider
divider
divider
comment("This is the defined code
it is only ran when you call MyCommand
not when the script gets here (then it is skipped)")
define MyCommand {
    alert("hi")
}

In Topic: Warriorplus Api And Jvzoo Api Help

06 January 2019 - 03:56 PM

Maybe try this if you are using http post:

plugin command("HTTP post.dll", "http set credential", #apiKey, "x")