Hello there Geates :- )
Thanks for the fast solving !!
But I still do have a problem.
In line 87 sign 2 there´s an error.
It says: "Object needed: "objFolderItem".
Sorry for asking so much :- )
Cheers
Checkzen
Hello there again :- )
I´ve changed several things now after receiving errors.
Now it say´s "The object doesnt support 'objShell.CreateShortcut'.
I´ve googled for this but it seems like this is a correct code.
You´ve got any idea why the error pops up?
Cheers
Checkzen
Argh :/
I´m can´t run the script since I get a runtime-error (mismatch) in line 2.
It says "Types mismatch: 'argobj'.. also tried it with 'objargs'.
Same error.
Code: 800a000d
Cheers
Checkzen
Hey there again :- )
Thanks a lot for trying to help me so hard.
But I´m sorry to say you still didn´t get what I mean.
Maybe I´m wrong, if so, please give me an example what to write in the cmd so the pinned application has an arument like "-e".
You can add arguments with rightclicking the...
Hello again :- )
Is there any way I can change the script so I can do it like this? :
Open cmd -> "C:\pin.vbs" "C:\paint.exe /e" -german -pin
?
Cheers
Checkzen
Hmm, my WebAccess isn´t working atm.
I´ll try it tommorow.
Anyway, I´ve tried to place an application in the path you´ve stated here a few days ago.
The icon doesn´t get pinned to the taskbar.
Do you have an idea why?
Cheers
Checkzen
Hey there again.
I think you don´t understand me.
The program runs fine so far.
I´ll try to explain it again:
For example:
If you rightclick Adobe Reader 9 and click on Properties you can add something like "xyz.pdf" so it always opens the xyz.pdf when you doubleclick it.
Or you can add...
Okay..
..it´s running now.
I´ve changed all "objargs" to "argobj"
But that´s not what I was looking for.
I still can´t pass any arguments / parameters in the pinned link.
I wanted to link an application to the taskbar with parameters / arguments inside (like C:\Programs\Acrobat Reader.exe...
Hello again and thanks for the help.
I´ve tried it with the code you provided.
But this isn´t working as well.
If I keep the "debugmode" on, I see that it doesnt pass trough any information.
-> The vars "Sprache", "PinModus" and "PfadEXE" are empty?
Cheers
Checkzen
Well,
I´m completly new to scripting.
And I don´t know how to implement your code into my program.
Thanks for the suggestions anyway :- )
Cheers
Checkzen
Hello there :- )
I´ve got a problem:
I´ve written a script that pins applications to the taskbar.
It looks like this:
___________________________________________________________________
on error resume next
Set objShell = CreateObject("Shell.Application")
Set objFSO =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.