<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Edit Script Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150562#M716397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked. Thanks jsn and to all who suggested answers and help it was greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2009 20:22:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-29T20:22:09Z</dc:date>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150555#M716390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using QV 8.5 latest build. Had no problems till today. Every time I hit the Edit Script button the program freezes and I have to use CTRL-ALT-DEL to end program.&lt;/P&gt;&lt;P&gt;QV will reload, run macros and all files and sheets are working just I can't edit script. The system does not show not responding or an error at all.&lt;/P&gt;&lt;P&gt;Thanks for any help provided.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 03:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150555#M716390</guid>
      <dc:creator />
      <dc:date>2009-07-29T03:15:44Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150556#M716391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it happen with a specific qvw file or with any file? I'd recommend to uninstall and reinstall QlikView.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 06:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150556#M716391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-29T06:35:47Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150557#M716392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have had this happen before with a single QVW. (If it's happening with all your qvws, I'd go with Michael's suggestion of reinstalling).&lt;/P&gt;&lt;P&gt;If it's just one file, you'll have to rebuild the file using a backup. Or you can try to extract the script with this macro:&lt;/P&gt;&lt;P&gt;Sub extractScript&lt;BR /&gt; Set objTextFile = openOutputFile("C:\myscript.qvs")&lt;BR /&gt; objTextFile.WriteLine(ActiveDocument.GetProperties.Script)&lt;BR /&gt; objTextFile.Close()&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;Function openOutputFile(filename)&lt;BR /&gt;Rem *** Create and open an output file&lt;BR /&gt; CONST ForWriting = 2&lt;BR /&gt; Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt; Set openOutputFile = objFSO.OpenTextFile (filename, ForWriting, True)&lt;BR /&gt;End Function&lt;/P&gt;&lt;P&gt;Code it in your module and run it with Test. You'll have to grant System Access. That will extract your script to a file. Then run another macro like:&lt;/P&gt;&lt;P&gt;Sub fix&lt;BR /&gt;set docprop = ActiveDocument.GetProperties&lt;BR /&gt;docprop.Script = "empty"&lt;BR /&gt;ActiveDocument.SetProperties docprop&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;Then if you can edit the script, you can copy/paste from the file -- after looking it over for weirdness.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 08:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150557#M716392</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-07-29T08:29:14Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150558#M716393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's a specific document I've seen this happen where global variables have been defined in the Macro module. Try commenting out everything in the macro module which is not enclosed within Subs or Functions and see if that lets you access the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 10:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150558#M716393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-29T10:35:16Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150559#M716394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunly its EVERY document including starting a new file and the samples.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 10:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150559#M716394</guid>
      <dc:creator />
      <dc:date>2009-07-29T10:45:13Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150560#M716395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm..&lt;/P&gt;&lt;P&gt;I'm thinking that the coordinates for the script window might have become messed up somehow so that the window is actually opening outside the visible computer screen and taking focus from QV so that it appears to have hung.&lt;/P&gt;&lt;P&gt;After clicking Edit Script, hold down Alt, push Space once and hit M (as in move). Then let go of all keys and use the arrow keys to try and move the script window into the screen area. Hope this works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 12:23:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150560#M716395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-29T12:23:29Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150561#M716396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;jsn,&lt;BR /&gt;This is exactly what I was thinking about. And, occasionally it happens to the "edit macro" window as well. I think that QlikTech has a utility to restore the position of the edit script window, hasn't it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 20:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150561#M716396</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-29T20:04:37Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150562#M716397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked. Thanks jsn and to all who suggested answers and help it was greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 20:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150562#M716397</guid>
      <dc:creator />
      <dc:date>2009-07-29T20:22:09Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150563#M716398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have had this happen if I use QlikView with a second monitor and extend the desktop to that monitor. If I move the editor screen to the second monitor, then later open QlikView without the second monitor the Editor still opens where it was with the second monitor. I do notice that I can see the edge of the editor window at the edge of my screen, and my mouse pointer turns into an arrow so I can drag the editor edge into view.&lt;/P&gt;&lt;P&gt;I wonder, can we class this as a bug?&lt;/P&gt;&lt;P&gt;I had forgotten the Alt-M trick though - good call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 21:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150563#M716398</guid>
      <dc:creator />
      <dc:date>2009-07-29T21:34:43Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150564#M716399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;Not sure on the app to reset the window pos. I did however track down the registry value for this so that one can check it manually:&lt;/P&gt;&lt;P&gt;Computer\HKEY_CURRENT_USER\Software\QlikTech\QlikView\WindowPos&lt;/P&gt;&lt;P&gt;DlgPos334 - Script Editor&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;193,132,960,641,0&lt;/P&gt;&lt;P&gt;TopLeftX, TopLeftY, BottomRightX, BottomRightY, Maximized (1/0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 10:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150564#M716399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-30T10:15:45Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150565#M716400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;jsn,&lt;BR /&gt;It's good enough, thanks! Especaily that the DlgPos334 is for the script editor.&lt;BR /&gt;Can we get the macro editor? Variables overview?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 19:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150565#M716400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-30T19:34:20Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150566#M716401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah.. I looked it up manually. Took a screenshot of the registry and then moved the script editor and compared. The principle is the same for the others but I'm on macos at the moment so I can't help you out there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 19:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150566#M716401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-30T19:51:25Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150567#M716402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Michael Solomovich wrote:Especaily that the DlgPos334 is for the script editor.&lt;BR /&gt;Can we get the macro editor?&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If you're up for it, an easy way to determine the various registry keys is to use a monitoring tool like Procmon or Regmon from Sysinternals -- free tools now distributed by Microsoft at &lt;A href="http://technet.microsoft.com/en-us/sysinternals/bb545027.aspx"&gt;http://technet.microsoft.com/en-us/sysinternals/bb545027.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Technically, Regmon is for older versions of Windows but it works fine on my XP. Regmon has filters so you can monitor just want you want like "HKCU\SOFTWARE\QlikTech\QlikView\WindowPos\*". Procmon has filters also, a little more complex to setup because it monitors more than RegKeys.&lt;/P&gt;&lt;P&gt;Using Regmon, I can see that the WindowPos keys are:&lt;/P&gt;&lt;P&gt;DlgPos334 - Script Editor V9&lt;BR /&gt;DlgPos332 - Script Editor V8.5&lt;BR /&gt;DlgPos257 - Macro Editor V9&lt;BR /&gt;DlgPos254 - Macro Edito V8.5&lt;/P&gt;&lt;P&gt;Thought it was interesting that they differ between releases.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 01:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150567#M716402</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-07-31T01:52:17Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150568#M716403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here, I knew I had it... It is QlikTech's file. No any documenmtaion or description though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 07:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150568#M716403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-31T07:19:42Z</dc:date>
    </item>
    <item>
      <title>Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150569#M716404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much guys. I was absolutly lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 12:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150569#M716404</guid>
      <dc:creator />
      <dc:date>2010-05-27T12:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Script Function</title>
      <link>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150570#M716405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried below macro code for adding new script line into existed tab "Main 2" , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the below code working like creating another new tab "Main 2" and adding the script line as $(Include=d:\vqd eat\text\test.txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what to change in below code for to work like add new script line in existed tab "Main 2" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;docprop.Script = docprop.Script &amp;amp; chr(13) &amp;amp; chr(10) &amp;amp; "///$tab Main 2" &amp;amp; chr(13) &amp;amp; chr(10) &amp;amp; "$(Include=d:\vqd eat\text\test.txt);" &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="font-size: 8pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 16:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Edit-Script-Function/m-p/150570#M716405</guid>
      <dc:creator />
      <dc:date>2012-03-27T16:08:26Z</dc:date>
    </item>
  </channel>
</rss>

