I'm using skinstudio v5.0.1, and I've just hit an impasse in making a skin. I can apply a titlebar text background image, which after some tweaking I got to show, but I can't seem to set margins for it, so when I open a window with a wider titlebar the edges of my image stretch out and look utterly hideous and ridiculous. How can I solve this? If I've overlooked something it must be pretty well hidden (or I'm a complete idiot)! Thanks.
ARIrish-
Can I create an object in DesktopX, and then via either its options or through scripting, set it so that when I click on it, the object doesn't steal focus from the current open window? Reason being, I have text objects that get their information from the currently open window, and of course, when I click on the object at the moment, it takes focus and replaces the text with a blank input. Not a massive, massive problem for now, but I have other objects which also interact similarly wi
SOLVED! Here's my final code, which displays current window title and updates frequently: Set oAutoIt = CreateObject("AutoItX3.Control") Sub Object_OnScriptEnter object.SetTimer 1,1 End Sub Sub Object_OnTimer1 title = oAutoIt.WinGetTitle ("","") object.Text=title object.SetTimer 1,1 End Sub SirSmiley, I am indebted to you for your help with this, as it is a problem that's been plaguing me for MONTHS. Thank you. SO
I think I'm getting there now. I re-registered, and the only error I'm getting now is with a line of my code 'expected end of statement' Set oAutoIt = CreateObject("AutoItX3.Control") Sub Object_OnScriptEnter object.SetTimer 1,1 End Sub Sub Object_OnTimer1 title = oAutoIt.WinGetTitle "", "" object.Text=title object.SetTimer 1,1 End Sub There's my code. The error comes at line 8 - 'title = ...', and as I said, it's 'Expected end of
Is it possible to give focus to the last active window?
Yep, that bit seems to work, but beyond that is where I get lost. I thought I could just use: oAutoIt.*** where the asterisks are my AutoIt code, but I just get errors.
Okay, I give. I get DesktopX scripting, and I get how to make the AutoItX scripts. I can't figure out the merging of the two. According to the AutoItX help, I was supposed to do this: To register the COM interface: 1. Open a command prompt 2. Change directory (using CD) to the directory that contains AutoItX3.dll 3. Type regsvr32.exe AutoItX3.dll and press enter So I did. Then, just to test how it worked, I copied line for line one of the
Got it. Right, now to look through all this and see if I can get a bit further Cheers SirSmiley
Still wondering about exempting objects from focus, but also, can't seem to find an autoITX COM object. Can you offer any more advice on that (google proved most unhelpful)? I've created some objects that simply open the script file when I click on them, but for some other objects I'm going to need to embed autoit scripts in objects (which I assume is what the COM object SirSmiley mentioned does. If anyone needs more info, please say and I'll happily edit my post.
A further question as I toil along this arduous path (which probably shouldn't be this hard for me ): Is there a way to have it so an object doesn't steal focus, either through its options (I've looked, but maybe overlooked something) or through scripting? Thanks.
You're a star sir, a star.
Unfortunately the only link I could find for an 'Auto3Lib' was down. Do you have the necessary files or know where I can get them? EDIT: I've managed to create an .aut script that displays the active window title. How exacly do I go about calling that in DesktopX? Thanks.
You are of course, quite right. I ought to have paraphrased the mail. I meant no disrespect to the support team - I was merely rushing to get my message posted and didn't really think. I apologise.
A while ago, I thought it would be neat if you could have an object that showed the title of the current open window, and also had the resizing and close buttons on it. I think I asked in the forums, and it was suggested it couldn't be done, so I emailed support. The gist of the reply was as follows: "...this is not supported by DesktopX natively, but the ability to create and utilize COM objects (using Set obj = CreateObject(...)) gives you a LOT of flexibility. Closing, Res
That looks like it'll be really helpful. Thanks a lot Much appreciated.
I have a widget that autohides when you move the mouse away from it. The code for the autohide is: Sub Object_OnMouseLeaveEx(obj) If SuspendAction = False Then If Object.State = "AutoHide" Then HidePanel End If End If End Sub This works just fine, BUT, the object is a background, or drawer,
Okay, I've uploaded it as a .dxpack, and the only thing I've taken out is the email checker, which doesn't affect the taskbar or systray in any way. Just to reiterate, when running the widget, the systray and taskbar can be found by clicking on the far left icon (small computer) - the systray ought to be visible on the bottom line, and the taskbar hould appear when you click on the arrow pointing down. In the builder, the objects in question are called: Launchbar:Systray an
For some reason, the system tray and taskbar in my widget don't show. Rephrase - they show in desktopx BUILDER, but not when I'm running the widget. MCP is enabled and running, and the files have all been moved into the appropriate folder. However, the system try refuses to work. As for the taskbar, I've absoutely no idea why that won't show. Bear in mind, a lot of the scripting in this widget is not my own work, I'm not trying to pass it off as such, and this is onl
Well, I guess it's nice to know I'm not the only one having this problem...
Yeah, yet another problem! Basically, there are three things in my widgets that work perfectly in DesktopX Builder, but then fail to work at all if I load them as widgets on my desktop. The first 2 are the taskbar and systray (I'm just using desktopX's basic 'object type' for these). They work great in the builder, but as soon as I export, they just don't show. Yes, I have the mcp running - sdmcp.exe is running in my processes, and this is still happening after numerous resta
Currently the 'master control', the object that deals with most of the script per group, is the child of the master toggle. So, essentially all 3 groups share the same parent - the master toggle. Is that any help? EDIT: Incidentally, you got what I was trying to do in one, even though my diagram came out all jumbled up. EDIT EDIT: After a second closer read of sViz's tutorial, I managed to get the master toggle to toggle everything on and off. However, I can't get it to remem
My widget looks like this: Group 4 Toggle 1-----Group 1 Master Toggle ----Toggle 2-----Group 2 Toggle 3-----Group 3 Basically, the various toggles in group 4 show and hide their respective groups, and the master toggle shows/hides group 4. I hope that's pretty clear, it was the best way I could describe it. So far, I'm only using the inbuilt popup controller, but I
Since I'm still struggling with this one, I'll ask - who's Jeff?
I found the documentation for scripting now, and it's helped me out. Sorry for this post.
It'd be nice if more of the clock widgets had countdown timers or built-in alarms.