SirSmiley

SirSmiley

Joined Member # 2134358
0 Posts 31 Replies 760 Reputation

It sounds like you're getting the path issue. This crops up in regular scripts. You need to use the ShortPath Property to correct it. Putting this into your include statement might fix it. [code="vbscript"] Set oFSO = CreateObject("Scripting.FileSystemObject") oFPATH= oFSO.GetFile(sInstFile) sInstFile=oFPATH.ShortPath If oFSO.FileExists(sInstFile) Then [/code]

17 Replies 11,638 Views

Ahh, that helps. Also, my code is wrong up there. You need to reference the script object before the function/sub. [code="vbscript"] Dim myScript: Set myScript = DesktopX.Object("CallingObjectName").Comments Call DesktopX.ScriptObject("EFB Clock").Include(myScript) [/code]

17 Replies 11,638 Views

So, you are calling the include file on Left Button down. Personally, I call it from Object_OnScriptEnter but, not sure how you are using it. To reference a script from another object you would use something like this but, you may have to put the include function in the calling object? [code="vbscript"] Call Include(DesktopX.ScriptObject("EFB Clock").Comments) [/code]

17 Replies 11,638 Views

You can't write scripts to the objects directly but, you could use an include statement in a base object(for cloning) then create an external script file for each new object. That could be called by referencing a variable to an ini file or the Object.Comments field. Scripting can be centralized to one main script all the objects just need to be child objects. Also, you can script parent child relationships. If you want drop me a download link via pm or email my the object(

13 Replies 7,751 Views

Is this what you mean? Create four objects named : objMain, objA, objB, objC I referenced the external script from objMain and all other objects were child objects with parent set as objMain and child status set to No. This is a vbscript but, as long as it is well formed should work as a text file. This script moves them from their current screen positions: [code="vbscript"] Dim oMain : Set oMain = DesktopX.Object("objMain") Dim A : Set A = DesktopX.Object(

13 Replies 7,751 Views

Yes, just tried it. This snippet is being called from an object named "test" and moves the second object Left by 25px every time "test" is clicked. I stick to using Up instead of down in case I have animations, etc. [code="vbscript"] Function Object_OnLButtonUp(x, y, dragged) If not dragged then DesktopX.Object("test2").Left=DesktopX.Object("test2").Left+25 End If End Function [/code] If you want to try something like Tiggz suggested then here's a th

13 Replies 7,751 Views

If you mean the Object Type: Shortcut - Folders menu. That can't be scripted. For onclick look under Object Callbacks. Function Object_OnLButtonDown(x, y), Function Object_OnRButtonDown(x, y), Function Object_OnLButtonUp(x, y, Dragged), Function Object_OnRButtonUp(x, y, Dragged)

13 Replies 7,751 Views

Wincustomize daily easiest/quickest to navigate. Aqua-soft.org daily which is a forum and more emulation oriented Deviantart daily but, it's becoming a big time waster. Hollywoodgui daily Occasionally: MaxStyles Skinnalicious Customize.org Skinnables [quote]Deviantart.com (sometimes feel like I need a shower afterward)[/quote] And I thought it was just me! ;)

56 Replies 22,307 Views

Ahhh, don't take too much from it. We often venture off into uncharted, non-relative rants here. It's all in good fun. ;) My all time favorite punctuation comment goes to Night Train in this thread [link="https://forums.wincustomize.com/?aid=173988&p=2#1432590"]WWW Link[/link]. It still cracks me up. Original Post: [quote]Man if i was a good enough skinner i'd make you that theme... ... I smoke it too and i'm a very motivated, smart person... when i smoke i feel more rel

186 Replies 294,072 Views

It's been years since I used Litestep but, it really is only functional to use for power users who know what they're doing. The same can be said for Linux to some degree. Without a doubt I can tell you Litestep can't do all the DesktopX can do, nor can any other scripting environment that I know of. Being able to create a gadget(Pro version) and send it off to family/friends who...to be kind are slightly lacking in computer skills is refreshing. Not to mention I'm able to buil

14 Replies 8,773 Views

[quote]what do you mean? How to make gadgets? or SETUP.exe extractors? that kind of thing?[/quote] Guess, I should of thought that out more. Just tried it with a version of iReflector & it really isn't any different than regular deployment but, it does reduce load time. There's lot's of tutorials for setup extractors out there. So, forget the request.

18 Replies 7,696 Views

Yeah, excellent site David. Added to the wiki. ;) Not meaning to hijack the thread but, a tutorial on Custom Deployment might be a good idea for the future?

18 Replies 7,696 Views

:LOL: umm... I believe you did somewhere (unless I stole it from Vad or Tiggz?) because that's what I used with the iReflector. Except for the If Statement which seems obvious now. ;)

20 Replies 33,781 Views

Umm...forget the OnTop idea it just changes or positions the object to the top of all the other DesktopX Objects/Layers. It was worth a shot. The Shell.Application object exposes some features of the Windows Shell to script. A good example is you can move/delete files and display the standard dialog you would get from the right click menu. Hope that helps. Here's a MS link: [link="http://msdn2.microsoft.com/en-us/library/bb776890.aspx"]Scriptable Shell Objects[/link]

16 Replies 9,427 Views

For the first question if you use a base object why not just use a variable and the Object.OnTop namespace? Or better yet, maybe set a boolean value with false being normal and true being OnTop? Something like below could be easily adapted to a form combo box. [code="vbscript"] Dim blnPosition : blnPosition=False ' Or 0 I always set a default externally Sub ChangePosition If blnPosition=False Then blnPosition=True Object.OnTop ElseIf blnPosition=True Then b

16 Replies 9,427 Views

Just emailed him. Just a thought. If someone does sell/license something. Shouldn't they edit the description to reflect this? Might save some time/potential misunderstandings?

7 Replies 6,324 Views