Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Search found 5 matches

by avalonai2
Thu Sep 22, 2011 4:18 pm
Forum: Feature Requests
Topic: EventGhost as a service
Replies: 25
Views: 25564

Re: EventGhost as a service

Skat I found this srvman http://tools.sysprogs.org/srvman/ trying to find alternatives.
I've been using it on my WHS box and had no problems with it. There is a check box to run programs as services interactively.

I almost forgot to mention no install required.

This might do what you want.
by avalonai2
Wed Aug 03, 2011 10:59 pm
Forum: General Support
Topic: Finding the target of a symlink
Replies: 4
Views: 1155

Re: Finding the target of a symlink

Well talk about feeling silly. I just found out that the code I posted actually returns the target filename of the shortcut when the shortcut isn't screwd up. :oops:

So I threw in a little os.path.basename(shortcut.Targetpath)
and there it was the filename.

Eh, I'm a noob nothing lost but my ...
by avalonai2
Tue Aug 02, 2011 2:26 pm
Forum: General Support
Topic: Finding the target of a symlink
Replies: 4
Views: 1155

Re: Finding the target of a symlink

No problem, I am a NOOB myself. EG is great and has my imiginaaaaaaation well past overdrive gett'n in to kickbutt, excuse me, I meant kickmybutt territory.
There are EG and python elites in the building, so this is the place to be while on the path, pun intended, to unleashing the might and power ...
by avalonai2
Fri Jul 29, 2011 3:48 pm
Forum: General Support
Topic: Finding the target of a symlink
Replies: 4
Views: 1155

Re: Finding the target of a symlink

WooHoo! please excuse my underwhelmingness but I was able to get to the link target using this code:

import sys
import win32com.client

shell = win32com.client.Dispatch("WScript.Shell")
shortcut = shell.CreateShortCut("d:\\test\\thetarget.lnk")
print(shortcut.Targetpath)

That gets me the Path ...
by avalonai2
Wed Jul 27, 2011 9:44 pm
Forum: General Support
Topic: Finding the target of a symlink
Replies: 4
Views: 1155

Finding the target of a symlink

I feel like I jumped into the deep end of the pool and forgot my floaties! I am new to python and trying my best to drive to insanity.
I am trying to get the target of a symbolic link when it's created. I tried a bunch of things that's only confused me more. :shock:

OSE did show me the target ...