我正在尝试使用Inno Setup的Pascal脚本从Windows注册表(在本例中为Google Sketchup)获取应用程序的安装目录,以便我可以在那里安装插件.
注册表项没有名称,它在Regedit中只有"(默认)".
我试过这个:
RegQueryStringValue( HKLM, 'SOFTWARE\Google\Google Sketchup 6', '(Default)', pluginLoc );
Run Code Online (Sandbox Code Playgroud)
但它没有返回值.有什么建议?
有没有一种很好的方法可以通过Java从Google的电子表格服务中获取列中的第一个空单元格?
我知道我可以用:
public CellFeed CheckColumn(int row, int col)
throws IOException, ServiceException {
CellQuery query = new CellQuery(cellFeedUrl);
query.setMinimumRow(row);
query.setMaximumRow(row);
query.setMinimumCol(col);
query.setMaximumCol(col);
query.setReturnEmpty(true);
CellFeed feed = service.query(query, CellFeed.class);
int cell_loc[];
for (CellEntry entry : feed.getEntries()) {
cell_loc=CheckIfEmpty(entry);
}
return cell_loc;
}
Run Code Online (Sandbox Code Playgroud)
并浏览条目,但我不想一次加载整个列,这对我的用户来说很慢,而且只是遍历整个列似乎很糟糕
有什么想法吗?
我有一些Javascript代码,可以创建一个"保存友好"版本的网页.
child = window.open("","child");
child.document.write(htmlPage);
"htmlPage"是页面的基本html,其中包含所有javascript引用,不同的标题图像引用集等.
一切都在弹出窗口中完美显示,没有运行javascript.当我单击"文件 - >另存为"时,保存的文件是父窗口及其所有javascript,并且没有子窗口的跟踪.有谁知道如何解决这个问题?我只想保存子窗口.
谢谢,-Kraryal
file ×1
inno-setup ×1
java ×1
javascript ×1
pascal ×1
registry ×1
save ×1
window.open ×1
windows ×1