Macro Toolworks Products Discussion Forums :: Macros & Solutions
Welcome Guest   
 Subject :Force to Reload Shared Macros File from Macro.. 02-06-2010 13:11:49 
petr
Joined: 15-10-2009 11:48:52
Posts: 152
Location
This sample forces shared macro file to be reloaded (works only in version 7.4.6 and newer):

<cmds>

<#> Force to reload shared macros file:
<varset>("_vSharedMacros_ReloadNow=YES","")
IP Logged
 Subject :Re:Force to Reload Shared Macros File from Macro.. 24-07-2010 13:56:54 
Chainspell
Joined: 28-05-2010 20:51:47
Posts: 8
Location
thanks for this! most awesome!
IP Logged
 Subject :Re:Force to Reload Shared Macros File from Macro.. 24-07-2010 14:51:03 
Chainspell
Joined: 28-05-2010 20:51:47
Posts: 8
Location
by the way it gives an access read error when the shared macro file is on a mapped network drive :)
IP Logged
 Subject :Re:Force to Reload Shared Macros File from Macro.. 26-07-2010 11:32:59 
petr
Joined: 15-10-2009 11:48:52
Posts: 152
Location
Hello,

what program version do you use? You should use 7.4.6 or newer....
Could you provide some more details (steps you do, operating system, etc.) so that we could repeat the same behavior you experience? I was trying to repeat the bug
you report by changing the shared file path from "\\server\macros\shared.4tw" to
"t:\shared.4tw" but I did not see any wrong behavior....

Best regards,
Petr
IP Logged
 Subject :Re:Force to Reload Shared Macros File from Macro.. 26-07-2010 17:16:18 
Chainspell
Joined: 28-05-2010 20:51:47
Posts: 8
Location
oh i have the latest version that you have on your site. I have windows xp where the error is happening. i will post the error code when i get home. and I think it crashes macro toolworks also.

thanks for the response :)
IP Logged
 Subject :Re:Force to Reload Shared Macros File from Macro.. 27-07-2010 03:55:23 
Chainspell
Joined: 28-05-2010 20:51:47
Posts: 8
Location
access violation at 0x02F82C90 (tried to read from 0x00007AE6), program terminated.

and it doesn't seem to happen 100% of the time. I tried it earlier and at first it seemed to work. then it gave me the error again
IP Logged
Seite # 


Powered by ccBoard


Melden Sie sich an, teilen Sie Ihre Erfahrungen - senden Sie Nachrichten an die Foren und kommentieren Sie Beispiele, Befehlsbeschreibungen und andere Hilfsquellen.



Die Mitgliedschaft ist kostenlos, die Anmeldung einfach.