Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 106
Search took 0.01 seconds.
Search: Posts Made By: Zax
Forum: Lua/XML Help 07-22-21, 12:12 PM
Replies: 4
Views: 220
Posted By Zax
You're right, I should do that only one time on...

You're right, I should do that only one time on first update.
Forum: Lua/XML Help 07-22-21, 12:26 AM
Replies: 4
Views: 220
Posted By Zax
Thanks Fizzlemizz for your code, much better than...

Thanks Fizzlemizz for your code, much better than mine.

However, I still have the same problem and I have to force the slider's thumb to be displayed with:
slider:SetValue(0)
after the scroll has...
Forum: Lua/XML Help 07-21-21, 08:15 AM
Replies: 4
Views: 220
Posted By Zax
Scroller not visible until the scroll offset change?

Hello,

I'm designing a scroller for a scroll frame and I have a problem with the scroller itself: it is not shown until I activate the scroll, by click on the arrow-down btn or by mouse-wheel.
The...
Forum: Lua/XML Help 07-20-21, 02:30 AM
Replies: 5
Views: 395
Posted By Zax
OK, I finally solve my problem, with the...

OK, I finally solve my problem, with the following code (maybe it could be optimized):

function .executeCmd(cmdStr, isMacroBoolean, noPrintErrorBoolean) -- return "", or error string
local cmdStr =...
Forum: Lua/XML Help 07-19-21, 09:09 AM
Replies: 5
Views: 395
Posted By Zax
Yes :) If I write RunScript("mmmkkhgrttt") I...

Yes :)

If I write RunScript("mmmkkhgrttt") I will have a lua error, and I would like to trap this error.
In fact, I'm now able to do this with something like:
local func, errorMessage =...
Forum: Lua/XML Help 07-18-21, 12:41 PM
Replies: 5
Views: 395
Posted By Zax
Well, .executeCmd() function is made for general...

Well, .executeCmd() function is made for general purpose and could receive different kind of commands or macros, something like:
.executeCmd("/sit", true) -- built-in...
Forum: Lua/XML Help 07-18-21, 01:41 AM
Replies: 5
Views: 395
Posted By Zax
Testing slash-command before execution?

Hello,

I use the following function to execute slash-commands, or commands:


-- .executeCmd("/sit", true)
-- .executeCmd("print(GetServerTime()), false)

function .executeCmd(cmdStr,...
Forum: Lua/XML Help 07-06-21, 05:38 AM
Replies: 4
Views: 328
Posted By Zax
Great ! Thank you very much Kanegasi :) After...

Great ! Thank you very much Kanegasi :)

After some quick tests, FCF_UnDockFrame(frame) doesn't seem to be called for a docked frame.

Concerning "Blizzard Alerts" channel, its real name is in fact...
Forum: Lua/XML Help 07-05-21, 12:12 PM
Replies: 4
Views: 328
Posted By Zax
Seems to work :) (though I was afraid it was just...

Seems to work :) (though I was afraid it was just a cosmetic trick).
Thanks Fizzlemizz.

Still another question:
I'm unable to check with LUA the following checked channels (sorry, my UI is french...
Forum: Lua/XML Help 07-05-21, 09:51 AM
Replies: 4
Views: 328
Posted By Zax
Undocking ChatFrame?

Hello,

As often Shadowlands loose my chat windows configuration, I'm trying to write a little LUA script to rebuild my chat frames.
I'm creating a new chat frame, say for example "Guild" and I would...
Forum: Lua/XML Help 01-17-21, 06:17 AM
Replies: 6
Views: 1,922
Posted By Zax
Yes. In my case, I just set a local variable to...

Yes. In my case, I just set a local variable to isInitialLogin when PLAYER_ENTERING_WORLD event is fired.
I then use this variable later, on PLAYER_LOGIN event.
Forum: Lua/XML Help 01-17-21, 06:03 AM
Replies: 6
Views: 1,922
Posted By Zax
Great! Thank you Rilgamon for your quick answer :)

Great!
Thank you Rilgamon for your quick answer :)
Forum: Lua/XML Help 01-17-21, 05:39 AM
Replies: 6
Views: 1,922
Posted By Zax
Differentiate fresh login and UI reload?

Hello,

I would like to apply a setting saved in saved variable file only on fresh log in, and not on interface reload.
I'm using PLAYER_LOGIN event to initialize my addons, but this event is also...
Forum: AddOn Search/Requests 12-29-20, 09:53 AM
Replies: 0
Views: 1,539
Posted By Zax
Eye of the Keeper frame replacement?

Is there an addon to replace the Eye of the Keeper (in the Maw) by something smaller?
A thin, horizontal and movable progress bar would be great.

I suppose this big frame can be moved with an addon...
Forum: Lua/XML Help 12-20-20, 03:49 AM
Replies: 1
Views: 1,749
Posted By Zax
SOLVED. I only had to declare a variable.

SOLVED.

I only had to declare a variable.
Forum: Lua/XML Help 12-19-20, 03:59 AM
Replies: 1
Views: 1,749
Posted By Zax
Passing argument to popup menu (UIDropDownMenu)

Hello,

I'm using a popup menu based on UIDropDownMenuTemplate like this:

local popupMenuHiddenFrame = CreateFrame("Frame", "hiddenPopupFrame", nil,...
Forum: Lua/XML Help 12-16-20, 10:17 AM
Replies: 19
Views: 10,091
Posted By Zax
Great :) Thank you very much Fizzlemizz and...

Great :)
Thank you very much Fizzlemizz and Kanegasi for your scripts, and also for your time and patience.
Forum: Lua/XML Help 12-16-20, 03:03 AM
Replies: 19
Views: 10,091
Posted By Zax
Considring Fizzlemizz's script, is there a way to...

Considring Fizzlemizz's script, is there a way to modify border color of an existing border, previously created with his script?

local function CreateBorder(self)
if not self.borders...
Forum: Lua/XML Help 12-15-20, 02:32 AM
Replies: 19
Views: 10,091
Posted By Zax
Maybe it should be intensively tested but...

Maybe it should be intensively tested but Fizzlemizz's solution seems perfect :)

Though, I don't understand why corners are rounded (it's obvious with thickness > 1)
Forum: Lua/XML Help 12-14-20, 07:45 AM
Replies: 19
Views: 10,091
Posted By Zax
Yes, that's what happen with a 1px border width:...

Yes, that's what happen with a 1px border width: some borders are sometimes drawn with 2px.
Forum: Lua/XML Help 12-14-20, 02:22 AM
Replies: 19
Views: 10,091
Posted By Zax
Interesting trick! Thank you Kanegasi. I tried...

Interesting trick! Thank you Kanegasi.

I tried this, but the result is sometime not very accurate:
-- params
local borderColor = {1, 1, 1}
local borderWidth = 1
--
if (not frame.SetBackdrop) then...
Forum: Lua/XML Help 12-12-20, 12:35 PM
Replies: 19
Views: 10,091
Posted By Zax
Nice :) Thank you.

Nice :)
Thank you.
Forum: Lua/XML Help 12-08-20, 06:17 AM
Replies: 19
Views: 10,091
Posted By Zax
Very interesting link, Xrystal. Thank you.

Very interesting link, Xrystal.
Thank you.
Forum: Lua/XML Help 12-08-20, 01:22 AM
Replies: 7
Views: 3,471
Posted By Zax
I recently used this tutorial and it...

I recently used this tutorial and it works:
https://wow.gamepedia.com/Making_a_scrollable_list_using_FauxScrollFrameTemplate

Though I had to...
Forum: Lua/XML Help 12-07-20, 01:55 AM
Replies: 19
Views: 10,091
Posted By Zax
How to add a thin border to a frame?

Hello,

Is there a simple way to draw/add a thin border to a frame, without any .tga file?
Something like CSS attribute border: 1px solid #00ff00

I tried with Backdrop's edgeFile with some built-in...
Showing results 1 to 25 of 106