scripting-language

Automatically converting Excel Files to Google Sheets

旧城冷巷雨未停 提交于 2021-02-05 06:49:37
问题 I have a google account that uses the save emails and attachments add-on. https://chrome.google.com/webstore/detail/save-emails-and-attachmen/nflmnfjphdbeagnilbihcodcophecebc?hl=en The email account only receives excel sheets as attachments, and those are saved to a specific folder automatically. Is it possible to have those sheets converted automatically to google sheets upon save (or after save). Currently, I have to open the file with google sheets to convert it. I have tried setting the

Automatically converting Excel Files to Google Sheets

僤鯓⒐⒋嵵緔 提交于 2021-02-05 06:49:06
问题 I have a google account that uses the save emails and attachments add-on. https://chrome.google.com/webstore/detail/save-emails-and-attachmen/nflmnfjphdbeagnilbihcodcophecebc?hl=en The email account only receives excel sheets as attachments, and those are saved to a specific folder automatically. Is it possible to have those sheets converted automatically to google sheets upon save (or after save). Currently, I have to open the file with google sheets to convert it. I have tried setting the

fsi.exe Assembly: Anyone know how to embed it?

北城余情 提交于 2020-02-03 05:14:05
问题 Long time reader, very first question. fsi.exe is a .NET executable and therefore contains its own assembly complete with all the yummy methods and whatnot fsi uses to execute F# scripts. Looking at the assembly in .NET Reflector (pick your class, but Shell is the best example) reveals a bunch of garbage* names that look like decorated C++ functions (say, from Dependency Walker). Incidentally and slightly beside the point, F# assemblies compile in much the same way, with lots of garbage*

What are modern and old compilers written in?

送分小仙女□ 提交于 2020-01-12 09:58:44
问题 As a compiler, other than an interpreter, only needs to translate the input and not run it the performance of itself should be not that problematic as with an interpreter. Therefore, you wouldn't write an interpreter in, let's say Ruby or PHP because it would be far too slow. However, what about compilers? If you would write a compiler in a scripting language maybe even featuring rapid development you could possibly cut the source code and initial development time by halv, at least I think so

VB Script does not recognize the actual parameter

谁说我不能喝 提交于 2020-01-11 13:03:20
问题 I've two VB Scripts. Say First.vbs and Second.vbs . Frist.vbs calls Second.vbs each time some action/event happens. I am trying to send two parameters from Frist.vbs to Second.vbs using the following code: Contents of First.vbs : Set objShell = Wscript.CreateObject("WScript.Shell") param1 = "Welcome" param2 = "Gokul Nath" objShell.Run "Second.vbs" & " " & param1 & " " & param2 Set objShell = Nothing Contents of Second.vbs : param1= Wscript.Arguments.Item(0) param2 = Wscript.Arguments.Item(1)

VB Script does not recognize the actual parameter

流过昼夜 提交于 2020-01-11 13:01:15
问题 I've two VB Scripts. Say First.vbs and Second.vbs . Frist.vbs calls Second.vbs each time some action/event happens. I am trying to send two parameters from Frist.vbs to Second.vbs using the following code: Contents of First.vbs : Set objShell = Wscript.CreateObject("WScript.Shell") param1 = "Welcome" param2 = "Gokul Nath" objShell.Run "Second.vbs" & " " & param1 & " " & param2 Set objShell = Nothing Contents of Second.vbs : param1= Wscript.Arguments.Item(0) param2 = Wscript.Arguments.Item(1)

Lua scripting line by line

妖精的绣舞 提交于 2020-01-02 06:42:29
问题 I added Lua scripting to my C# Application by using the DynamicLua libary and it works very well. I would like to implement that you get the current line which is being executed (Like in Visual Studio) and highlight it. Currently I am doing this: public static void RunLua(string LuaToExecute) { dynamic lua = new DynamicLua.DynamicLua(); string[] lua_s_split = LuaToExecute.Split('\n'); int counter = 0; foreach (string line in lua_s_split) { // highlight current line in editor HighlightLine

Display a drop-down/combo box in VB Script

寵の児 提交于 2020-01-01 09:19:45
问题 I'm trying to create a drop-down/combo box in VB Script. As per my understanding we need to create an instance for Internet Explorer and create a drop-down/combo box, something like this: set oIE = createObject("InternetExplorer.Application") with oIE .Navigate "about:blank" Do until .ReadyState = 4 : WScript.Sleep 100 : Loop set oDoc = .document .Visible = true end with with oDoc .open .writeln "<html><head><title>ComboBox Example</title></head>" .writeln "<body scroll=no><object " .writeln

Display a drop-down/combo box in VB Script

孤街浪徒 提交于 2020-01-01 09:19:12
问题 I'm trying to create a drop-down/combo box in VB Script. As per my understanding we need to create an instance for Internet Explorer and create a drop-down/combo box, something like this: set oIE = createObject("InternetExplorer.Application") with oIE .Navigate "about:blank" Do until .ReadyState = 4 : WScript.Sleep 100 : Loop set oDoc = .document .Visible = true end with with oDoc .open .writeln "<html><head><title>ComboBox Example</title></head>" .writeln "<body scroll=no><object " .writeln

New scripting language

和自甴很熟 提交于 2019-12-22 18:00:03
问题 I am trying to create a scripting language by myself (it doesn't have to be perfect - although that would be great if it was), mostly because i'm doing it for fun and to learn about how they're created etc. According to the answer over here: Creating a scripting language what I'm supposed to be looking into is this: http://msdn.microsoft.com/en-us/library/xawadt95%28VS.85%29.aspx . But, I have absolutely no idea what that MSDN page is on about. Can somebody please help? P.S. Are there any