summaryrefslogtreecommitdiffstats
path: root/ksvg/scripts/OPENREF
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/scripts/OPENREF')
-rwxr-xr-xksvg/scripts/OPENREF9
1 files changed, 9 insertions, 0 deletions
diff --git a/ksvg/scripts/OPENREF b/ksvg/scripts/OPENREF
new file mode 100755
index 00000000..f8fbecb0
--- /dev/null
+++ b/ksvg/scripts/OPENREF
@@ -0,0 +1,9 @@
+#!/bin/bash
+pid=`dcopstart konqueror --profile filemanagement`
+loc=`pwd`/$1
+sleep 1
+dcop $pid konqueror-mainwindow#1 openURL ${loc}svg
+sleep 1
+dcop $pid qt/KXMLGUILClient-KActionCollection/splitviewh activate
+sleep 1
+dcop $pid konqueror-mainwindow#1 openURL ${loc}png