Rox-Desktop, parameters and drag and drop

Using applications, configuring, problems
Post Reply
Message
Author
Everitt
Posts: 331
Joined: Tue 19 Dec 2006, 21:59
Location: Leeds,UK or Birmingham, UK

Rox-Desktop, parameters and drag and drop

#1 Post by Everitt »

Hi,

I was wonding if anyone knew of a way I could get around this problem. I've searched all over the place and keep hitting brick walls.

I have an icon on the desktop, linked to an app dir. The icon has arguments under 'Arguments to pass (for executables)'. This works fine. The problem is that if I drag and drop a file onto the icon then the value of that field is ignored.
Any ideas?
For those of you that follow these things this is the 'drag and drop' functionality of the windows partition script I've been working on..

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#2 Post by mikeb »

Perhaps a workaroud would be for the icon to link to a script which would then add the needed arguments

mike

Everitt
Posts: 331
Joined: Tue 19 Dec 2006, 21:59
Location: Leeds,UK or Birmingham, UK

#3 Post by Everitt »

Unfortunatley there is no way to know what the parameters are going to be. The only place they would be stored is in the icon.
I think I'm going to have to pretty heavily redesign the logic to not use the icons like that. Rox has some built in stuff that should work. (hopefully). Luckily most of the code I've already written should be ok though.

Post Reply